diff --git a/api/seqapi/v1/seq_api.proto b/api/seqapi/v1/seq_api.proto index 1239c2a..e1b357e 100644 --- a/api/seqapi/v1/seq_api.proto +++ b/api/seqapi/v1/seq_api.proto @@ -213,6 +213,14 @@ message ExportRequest { uint32 downsample = 8; } +message ExportAsyncSearchRequest { + string search_id = 1; + int32 limit = 4; + int32 offset = 5; + ExportFormat format = 6; + repeated string fields = 7; +} + message GetLimitsRequest {} message GetLimitsResponse { diff --git a/internal/api/seqapi/v1/http/api.go b/internal/api/seqapi/v1/http/api.go index c762883..4e51bbe 100644 --- a/internal/api/seqapi/v1/http/api.go +++ b/internal/api/seqapi/v1/http/api.go @@ -160,6 +160,7 @@ func (a *API) Router() chi.Router { mux.Post("/async_search/list", a.serveGetAsyncSearchesList) mux.Post("/async_search/{id}/cancel", a.serveCancelAsyncSearch) mux.Delete("/async_search/{id}", a.serveDeleteAsyncSearch) + mux.Post("/async_search/export", a.serveExportAsyncSearch) return mux } diff --git a/internal/api/seqapi/v1/http/export_async_search.go b/internal/api/seqapi/v1/http/export_async_search.go new file mode 100644 index 0000000..493b1b2 --- /dev/null +++ b/internal/api/seqapi/v1/http/export_async_search.go @@ -0,0 +1,150 @@ +package http + +import ( + "encoding/json" + "errors" + "fmt" + "net/http" + + "go.opentelemetry.io/otel/attribute" + + "github.com/ozontech/seq-ui/internal/api/httputil" + "github.com/ozontech/seq-ui/internal/app/types" + "github.com/ozontech/seq-ui/metric" + "github.com/ozontech/seq-ui/pkg/seqapi/v1" + "github.com/ozontech/seq-ui/tracing" +) + +// serveExportAsyncSearch go doc. +// +// @Router /seqapi/v1/async_search/export [post] +// @ID seqapi_v1_export_async_search +// @Tags seqapi_v1 +// @Param env query string false "Environment" +// @Param body body exportAsyncSearchRequest true "Request body" +// @Success 200 {object} exportResponse "A successful streaming responses" +// @Failure default {object} httputil.Error "An unexpected error response" +// @Security bearer +func (a *API) serveExportAsyncSearch(w http.ResponseWriter, r *http.Request) { + wr := httputil.NewWriter(w) + + if a.asyncSearches == nil { + wr.Error(types.ErrAsyncSearchesDisabled, http.StatusBadRequest) + return + } + + ctx, span := tracing.StartSpan(r.Context(), "seqapi_v1_export_async_search_http") + defer span.End() + + env := getEnvFromContext(ctx) + + userStr := "_" + if userName, err := types.GetUserKey(ctx); err == nil { + userStr = userName + } + + var httpReq exportAsyncSearchRequest + if err := json.NewDecoder(r.Body).Decode(&httpReq); err != nil { + wr.Error(fmt.Errorf("failed to parse export async search request: %w", err), http.StatusBadRequest) + return + } + + if httpReq.Format == "" { + httpReq.Format = efJSONL + } + + attributes := []attribute.KeyValue{ + { + Key: "search_id", + Value: attribute.StringValue(httpReq.SearchID), + }, + { + Key: "limit", + Value: attribute.IntValue(int(httpReq.Limit)), + }, + { + Key: "offset", + Value: attribute.IntValue(int(httpReq.Offset)), + }, + { + Key: "format", + Value: attribute.StringValue(string(httpReq.Format)), + }, + { + Key: "fields", + Value: attribute.StringSliceValue(httpReq.Fields), + }, + } + + if env != "" { + attributes = append(attributes, attribute.String("env", env)) + } + + span.SetAttributes(attributes...) + + if err := checkUUID(httpReq.SearchID); err != nil { + wr.Error(err, http.StatusBadRequest) + return + } + + if err := checkLimitOffset(httpReq.Limit, httpReq.Offset); err != nil { + wr.Error(err, http.StatusBadRequest) + return + } + + params, err := a.GetEnvParams(env) + if err != nil { + wr.Error(err, http.StatusBadRequest) + return + } + + if params.exportLimiter.Limited(userStr) { + metric.ServerExportRequestLimits.Inc() + wr.Error(errors.New("parallel export limit exceeded"), http.StatusTooManyRequests) + return + } + defer params.exportLimiter.Fill(userStr) + + if httpReq.Limit > params.options.MaxExportLimit { + wr.Error(fmt.Errorf("too many events are requested: count=%d, max=%d", + httpReq.Limit, params.options.MaxExportLimit), + http.StatusBadRequest) + return + } + + if httpReq.Format == efCSV && len(httpReq.Fields) == 0 { + wr.Error(errors.New("csv export required 'fields'"), http.StatusBadRequest) + return + } + + cw, err := httputil.NewChunkedWriter(wr.ResponseWriter) + if err != nil { + wr.Error(err, http.StatusBadRequest) + return + } + + if err := a.asyncSearches.ExportAsyncSearch(ctx, httpReq.toProto(), cw); err != nil { + wr.Error(err, http.StatusInternalServerError) + return + } + + wr.WriteHeader(http.StatusOK) +} + +type exportAsyncSearchRequest struct { + SearchID string `json:"search_id" format:"uuid"` + Limit int32 `json:"limit" format:"int32"` + Offset int32 `json:"offset" format:"int32"` + Format exportFormat `json:"format" default:"jsonl"` + Fields []string `json:"fields,omitempty"` +} // @name seqapi.v1.ExportAsyncSearchRequest + +func (r exportAsyncSearchRequest) toProto() *seqapi.ExportAsyncSearchRequest { + return &seqapi.ExportAsyncSearchRequest{ + SearchId: r.SearchID, + Limit: r.Limit, + Offset: r.Offset, + Format: r.Format.toProto(), + Fields: r.Fields, + } +} diff --git a/internal/api/seqapi/v1/http/export_async_search_test.go b/internal/api/seqapi/v1/http/export_async_search_test.go new file mode 100644 index 0000000..564425a --- /dev/null +++ b/internal/api/seqapi/v1/http/export_async_search_test.go @@ -0,0 +1,207 @@ +package http + +import ( + "net/http" + "testing" + + "go.uber.org/mock/gomock" + + "github.com/ozontech/seq-ui/internal/api/httputil" + "github.com/ozontech/seq-ui/internal/api/seqapi/v1/test" + "github.com/ozontech/seq-ui/internal/app/config" + mock_asyncsearches "github.com/ozontech/seq-ui/internal/pkg/service/async_searches/mock" + "github.com/ozontech/seq-ui/pkg/seqapi/v1" +) + +func TestServeExportAsyncSearch(t *testing.T) { + type mockArgs struct { + req *seqapi.ExportAsyncSearchRequest + err error + } + + tests := []struct { + name string + + req exportAsyncSearchRequest + cfg config.SeqAPI + wantErr bool + + mockArgs *mockArgs + }{ + { + name: "ok_jsonl", + req: exportAsyncSearchRequest{ + SearchID: testSearchID, + Limit: 50, + Offset: 0, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxExportLimit: 100, + MaxParallelExportRequests: 1, + }, + }, + mockArgs: &mockArgs{ + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: testSearchID, + Limit: 50, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_JSONL, + }, + }, + }, + { + name: "ok_csv", + req: exportAsyncSearchRequest{ + SearchID: testSearchID, + Limit: 50, + Offset: 0, + Format: efCSV, + Fields: []string{"field1", "field2"}, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxExportLimit: 100, + MaxParallelExportRequests: 1, + }, + }, + mockArgs: &mockArgs{ + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: testSearchID, + Limit: 50, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_CSV, + Fields: []string{"field1", "field2"}, + }, + }, + }, + { + name: "err_parallel_limited", + req: exportAsyncSearchRequest{ + SearchID: testSearchID, + Limit: 0, + Offset: 0, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxParallelExportRequests: 0, + }, + }, + wantErr: true, + }, + { + name: "err_export_limit_max", + req: exportAsyncSearchRequest{ + SearchID: testSearchID, + Limit: 10, + Offset: 0, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxExportLimit: 5, + MaxParallelExportRequests: 1, + }, + }, + wantErr: true, + }, + { + name: "err_csv_empty_fields", + req: exportAsyncSearchRequest{ + SearchID: testSearchID, + Limit: 10, + Offset: 0, + Format: efCSV, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxExportLimit: 100, + MaxParallelExportRequests: 1, + }, + }, + wantErr: true, + }, + { + name: "err_invalid_id", + req: exportAsyncSearchRequest{ + SearchID: "some invalid id", + Limit: 10, + Offset: 0, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxExportLimit: 100, + MaxParallelExportRequests: 1, + }, + }, + wantErr: true, + }, + { + name: "err_client", + req: exportAsyncSearchRequest{ + SearchID: testSearchID, + Limit: 50, + Offset: 0, + }, + cfg: config.SeqAPI{ + SeqAPIOptions: &config.SeqAPIOptions{ + MaxExportLimit: 100, + MaxParallelExportRequests: 1, + }, + }, + wantErr: true, + mockArgs: &mockArgs{ + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: testSearchID, + Limit: 50, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_JSONL, + }, + err: errSomethingWrong, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + + ctrl := gomock.NewController(t) + svcMock := mock_asyncsearches.NewMockService(ctrl) + + seqData := test.APITestData{ + Cfg: tt.cfg, + } + seqData.Mocks.AsyncSearchesSvc = svcMock + + if tt.mockArgs != nil { + svcMock.EXPECT(). + ExportAsyncSearch(gomock.Any(), tt.mockArgs.req, gomock.Any()). + Return(tt.mockArgs.err). + Times(1) + } + + api := setupTestAPI(seqData) + + httputil.DoTestHTTPEx(t, httputil.TestDataHTTPEx[exportAsyncSearchRequest, struct{}]{ + Method: http.MethodPost, + Target: "/seqapi/v1/async_search/export", + Req: tt.req, + Handler: api.serveExportAsyncSearch, + WantErr: tt.wantErr, + NoResp: true, + }) + }) + } +} + +func TestServeExportAsyncSearch_Disabled(t *testing.T) { + seqData := test.APITestData{} + api := setupTestAPI(seqData) + + httputil.DoTestHTTPEx(t, httputil.TestDataHTTPEx[exportAsyncSearchRequest, struct{}]{ + Method: http.MethodPost, + Target: "/seqapi/v1/async_search/export", + Handler: api.serveExportAsyncSearch, + WantErr: true, + }) +} diff --git a/internal/pkg/client/seqdb/client.go b/internal/pkg/client/seqdb/client.go index 7230a43..eb441c8 100644 --- a/internal/pkg/client/seqdb/client.go +++ b/internal/pkg/client/seqdb/client.go @@ -17,6 +17,7 @@ type Client interface { Search(context.Context, *seqapi.SearchRequest) (*seqapi.SearchResponse, error) Status(context.Context, *seqapi.StatusRequest) (*seqapi.StatusResponse, error) Export(context.Context, *seqapi.ExportRequest, *httputil.ChunkedWriter) error + ExportAsyncSearch(context.Context, *seqapi.ExportAsyncSearchRequest, *httputil.ChunkedWriter) error StartAsyncSearch(context.Context, *seqapi.StartAsyncSearchRequest) (*seqapi.StartAsyncSearchResponse, error) FetchAsyncSearchResult(context.Context, *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error) GetAsyncSearchesList(context.Context, *seqapi.GetAsyncSearchesListRequest, []string) (*seqapi.GetAsyncSearchesListResponse, error) diff --git a/internal/pkg/client/seqdb/export.go b/internal/pkg/client/seqdb/export.go index 0db33b8..32f5140 100644 --- a/internal/pkg/client/seqdb/export.go +++ b/internal/pkg/client/seqdb/export.go @@ -34,28 +34,46 @@ func (c *GRPCClient) Export(ctx context.Context, req *seqapi.ExportRequest, cw * return err } + stream := proxyResp.(seqproxyapi.SeqProxyApi_ExportClient) + return c.writeExportStream(stream, req.Format, req.Fields, cw, "Export") +} + +// exportStream is the commonRecv part of both Export and ExportAsyncSearch +// gRPC client streams, which both yield *seqproxyapi.ExportResponse messages. +type exportStream interface { + Recv() (*seqproxyapi.ExportResponse, error) +} + +// writeExportStream reads documents from the given gRPC stream and writes them +// to cw in the requested format (JSONL or CSV), applying masking when enabled. +// method is used for logging and metrics labels. +func (c *GRPCClient) writeExportStream( + stream exportStream, + format seqapi.ExportFormat, + fields []string, + cw *httputil.ChunkedWriter, + method string, +) error { csvWriter := newCsvWriter(cw) - if req.Format == seqapi.ExportFormat_EXPORT_FORMAT_CSV { - err = csvWriter.Write(req.Fields) - if err != nil { + if format == seqapi.ExportFormat_EXPORT_FORMAT_CSV { + if err := csvWriter.Write(fields); err != nil { return err } } - proxyStream := proxyResp.(seqproxyapi.SeqProxyApi_ExportClient) i := 0 for { - eResp, err := proxyStream.Recv() + eResp, err := stream.Recv() i++ if errors.Is(err, io.EOF) { break } else if err != nil { logger.Error("grpc client stream recv failed", - zap.String("method", "Export"), + zap.String("method", method), zap.Error(err), ) - metric.SeqDBClientStreamError.WithLabelValues("Export", "recv").Inc() + metric.SeqDBClientStreamError.WithLabelValues(method, "recv").Inc() return err } @@ -63,7 +81,7 @@ func (c *GRPCClient) Export(ctx context.Context, req *seqapi.ExportRequest, cw * continue } - if req.Format == seqapi.ExportFormat_EXPORT_FORMAT_CSV { + if format == seqapi.ExportFormat_EXPORT_FORMAT_CSV { m, err := newMapStringString(eResp.Doc.Data) if err != nil { continue @@ -71,7 +89,7 @@ func (c *GRPCClient) Export(ctx context.Context, req *seqapi.ExportRequest, cw * if c.masker != nil { c.masker.Mask(m) } - if err := csvWriter.Write(m.getValues(req.Fields, false)); err != nil { + if err := csvWriter.Write(m.getValues(fields, false)); err != nil { continue } } else { diff --git a/internal/pkg/client/seqdb/export_async_search.go b/internal/pkg/client/seqdb/export_async_search.go new file mode 100644 index 0000000..f3b6902 --- /dev/null +++ b/internal/pkg/client/seqdb/export_async_search.go @@ -0,0 +1,24 @@ +package seqdb + +import ( + "context" + + "github.com/ozontech/seq-ui/internal/api/httputil" + "github.com/ozontech/seq-ui/internal/pkg/client/seqdb/seqproxyapi/v1" + "github.com/ozontech/seq-ui/pkg/seqapi/v1" +) + +func (c *GRPCClient) ExportAsyncSearch(ctx context.Context, req *seqapi.ExportAsyncSearchRequest, cw *httputil.ChunkedWriter) error { + proxyReq := newProxyExportAsyncSearchReq(req) + proxyResp, err := c.sendRequest(ctx, + func(client seqproxyapi.SeqProxyApiClient) (any, error) { + return client.ExportAsyncSearch(ctx, proxyReq) + }, + ) + if err != nil { + return err + } + + stream := proxyResp.(seqproxyapi.SeqProxyApi_ExportAsyncSearchClient) + return c.writeExportStream(stream, req.Format, req.Fields, cw, "ExportAsyncSearch") +} diff --git a/internal/pkg/client/seqdb/export_async_search_test.go b/internal/pkg/client/seqdb/export_async_search_test.go new file mode 100644 index 0000000..4beb3b3 --- /dev/null +++ b/internal/pkg/client/seqdb/export_async_search_test.go @@ -0,0 +1,188 @@ +package seqdb + +import ( + "context" + "errors" + "io" + "net/http/httptest" + "testing" + "time" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "go.uber.org/mock/gomock" + "google.golang.org/protobuf/types/known/timestamppb" + + "github.com/ozontech/seq-ui/internal/api/httputil" + "github.com/ozontech/seq-ui/internal/pkg/client/seqdb/seqproxyapi/v1" + mock "github.com/ozontech/seq-ui/internal/pkg/client/seqdb/seqproxyapi/v1/mock" + "github.com/ozontech/seq-ui/pkg/seqapi/v1" +) + +const asyncSearchTestSearchID = "69e4a4a6-0922-43bd-952d-060a86c2b622" + +func Test_GRPCClient_ExportAsyncSearch(t *testing.T) { + eventTime := time.Date(2024, time.December, 31, 10, 20, 30, 400000, time.UTC) // 2024-12-31T10:20:30.0004Z + eventTimePB := timestamppb.New(eventTime) + + type mockArgs struct { + req *seqproxyapi.ExportAsyncSearchRequest + resp *mock.MockSeqProxyApi_ExportAsyncSearchClient + err error + } + + prepareMockArgs := func( + ctrl *gomock.Controller, + req *seqapi.ExportAsyncSearchRequest, + docs []seqproxyapi.Document, + errType streamErrorType, + ) mockArgs { + var proxyReq *seqproxyapi.ExportAsyncSearchRequest + var proxyResp *mock.MockSeqProxyApi_ExportAsyncSearchClient + + if req != nil { + proxyReq = &seqproxyapi.ExportAsyncSearchRequest{ + SearchId: req.SearchId, + Size: int64(req.Limit), + Offset: int64(req.Offset), + } + } + + if errType == streamErrProxy { + return mockArgs{ + req: proxyReq, + resp: nil, + err: errors.New("proxy error"), + } + } + + proxyResp = mock.NewMockSeqProxyApi_ExportAsyncSearchClient(ctrl) + if errType == streamErrRecv { + proxyResp.EXPECT().Recv().Return(nil, errors.New("recv error")).Times(1) + } else { + for i := range docs { + proxyResp.EXPECT().Recv().Return(&seqproxyapi.ExportResponse{ + Doc: &seqproxyapi.Document{ + Id: docs[i].Id, + Data: docs[i].Data, + Time: docs[i].Time, + }, + }, nil).Times(1) + } + proxyResp.EXPECT().Recv().Return(nil, io.EOF).Times(1) + } + + return mockArgs{ + req: proxyReq, + resp: proxyResp, + err: nil, + } + } + + tests := []struct { + name string + + req *seqapi.ExportAsyncSearchRequest + docs []seqproxyapi.Document + wantResp string + wantErr streamErrorType + }{ + { + name: "ok_jsonl", + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: asyncSearchTestSearchID, + Limit: 3, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_JSONL, + }, + docs: []seqproxyapi.Document{ + {Id: "test1", Data: []byte(`{"key1":"val1","key2":"val2"}`), Time: eventTimePB}, + {Id: "test2", Data: []byte(`{"key1":"val10","key2":"val20"}`), Time: eventTimePB}, + {Id: "test3", Data: []byte(`{"key1":"val100","key2":"val200"}`), Time: eventTimePB}, + }, + wantResp: "{\"id\":\"test1\",\"data\":{\"key1\":\"val1\",\"key2\":\"val2\"},\"time\":\"2024-12-31T10:20:30.0004Z\"}\r\n{\"id\":\"test2\",\"data\":{\"key1\":\"val10\",\"key2\":\"val20\"},\"time\":\"2024-12-31T10:20:30.0004Z\"}\r\n{\"id\":\"test3\",\"data\":{\"key1\":\"val100\",\"key2\":\"val200\"},\"time\":\"2024-12-31T10:20:30.0004Z\"}\r\n", + }, + { + name: "ok_jsonl_empty", + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: asyncSearchTestSearchID, + Limit: 3, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_JSONL, + }, + }, + { + name: "ok_csv", + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: asyncSearchTestSearchID, + Limit: 3, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_CSV, + Fields: []string{"key1", "key3"}, + }, + docs: []seqproxyapi.Document{ + {Id: "test1", Data: []byte(`{"key1":"val1,a","key2":"val2,b","key3":"val3,c"}`), Time: eventTimePB}, + {Id: "test2", Data: []byte(`{"key1":"val10,a","key2":"val20,b","key3":"val30,c"}`), Time: eventTimePB}, + {Id: "test3", Data: []byte(`{"key1":"val100,a","key2":"val200,b","key3":"val300,c"}`), Time: eventTimePB}, + }, + wantResp: "key1,key3\r\n\"val1,a\",\"val3,c\"\r\n\"val10,a\",\"val30,c\"\r\n\"val100,a\",\"val300,c\"\r\n", + }, + { + name: "err_proxy", + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: asyncSearchTestSearchID, + Limit: 3, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_JSONL, + }, + wantErr: streamErrProxy, + }, + { + name: "err_stream_recv", + req: &seqapi.ExportAsyncSearchRequest{ + SearchId: asyncSearchTestSearchID, + Limit: 3, + Offset: 0, + Format: seqapi.ExportFormat_EXPORT_FORMAT_JSONL, + }, + wantErr: streamErrRecv, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + ctx := context.Background() + ctrl := gomock.NewController(t) + + mArgs := prepareMockArgs(ctrl, tt.req, tt.docs, tt.wantErr) + seqProxyMock := mock.NewMockSeqProxyApiClient(ctrl) + + seqProxyMock.EXPECT(). + ExportAsyncSearch(ctx, mArgs.req). + Return(mArgs.resp, mArgs.err). + Times(1) + + c := initGRPCClient(seqProxyMock) + + w := httptest.NewRecorder() + cw, err := httputil.NewChunkedWriter(w) + assert.NoError(t, err) + + err = c.ExportAsyncSearch(ctx, tt.req, cw) + + require.Equal(t, tt.wantErr != streamErrNo, err != nil) + if tt.wantErr != streamErrNo { + return + } + + res := w.Result() + defer res.Body.Close() + + data, err := io.ReadAll(res.Body) + assert.NoError(t, err) + + require.Equal(t, tt.wantResp, string(data)) + }) + } +} diff --git a/internal/pkg/client/seqdb/grpc_types.go b/internal/pkg/client/seqdb/grpc_types.go index a4181c9..1fdf7d6 100644 --- a/internal/pkg/client/seqdb/grpc_types.go +++ b/internal/pkg/client/seqdb/grpc_types.go @@ -316,6 +316,14 @@ func newProxyExportReq(req *seqapi.ExportRequest) *seqproxyapi.ExportRequest { } } +func newProxyExportAsyncSearchReq(req *seqapi.ExportAsyncSearchRequest) *seqproxyapi.ExportAsyncSearchRequest { + return &seqproxyapi.ExportAsyncSearchRequest{ + SearchId: req.SearchId, + Size: int64(req.Limit), + Offset: int64(req.Offset), + } +} + func asyncSearchStatusToProto(s seqproxyapi.AsyncSearchStatus) seqapi.AsyncSearchStatus { switch s { case seqproxyapi.AsyncSearchStatus_AsyncSearchStatusInProgress: diff --git a/internal/pkg/client/seqdb/mock/client.go b/internal/pkg/client/seqdb/mock/client.go index efb9da6..3a4db01 100644 --- a/internal/pkg/client/seqdb/mock/client.go +++ b/internal/pkg/client/seqdb/mock/client.go @@ -87,6 +87,20 @@ func (mr *MockClientMockRecorder) Export(arg0, arg1, arg2 any) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Export", reflect.TypeOf((*MockClient)(nil).Export), arg0, arg1, arg2) } +// ExportAsyncSearch mocks base method. +func (m *MockClient) ExportAsyncSearch(arg0 context.Context, arg1 *seqapi.ExportAsyncSearchRequest, arg2 *httputil.ChunkedWriter) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ExportAsyncSearch", arg0, arg1, arg2) + ret0, _ := ret[0].(error) + return ret0 +} + +// ExportAsyncSearch indicates an expected call of ExportAsyncSearch. +func (mr *MockClientMockRecorder) ExportAsyncSearch(arg0, arg1, arg2 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportAsyncSearch", reflect.TypeOf((*MockClient)(nil).ExportAsyncSearch), arg0, arg1, arg2) +} + // FetchAsyncSearchResult mocks base method. func (m *MockClient) FetchAsyncSearchResult(arg0 context.Context, arg1 *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error) { m.ctrl.T.Helper() diff --git a/internal/pkg/client/seqdb/seqproxyapi/v1/mock/seq_proxy_api_grpc.pb.go b/internal/pkg/client/seqdb/seqproxyapi/v1/mock/seq_proxy_api_grpc.pb.go index e70a258..319b719 100644 --- a/internal/pkg/client/seqdb/seqproxyapi/v1/mock/seq_proxy_api_grpc.pb.go +++ b/internal/pkg/client/seqdb/seqproxyapi/v1/mock/seq_proxy_api_grpc.pb.go @@ -123,6 +123,26 @@ func (mr *MockSeqProxyApiClientMockRecorder) Export(ctx, in any, opts ...any) *g return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Export", reflect.TypeOf((*MockSeqProxyApiClient)(nil).Export), varargs...) } +// ExportAsyncSearch mocks base method. +func (m *MockSeqProxyApiClient) ExportAsyncSearch(ctx context.Context, in *seqproxyapi.ExportAsyncSearchRequest, opts ...grpc.CallOption) (seqproxyapi.SeqProxyApi_ExportAsyncSearchClient, error) { + m.ctrl.T.Helper() + varargs := []any{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ExportAsyncSearch", varargs...) + ret0, _ := ret[0].(seqproxyapi.SeqProxyApi_ExportAsyncSearchClient) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ExportAsyncSearch indicates an expected call of ExportAsyncSearch. +func (mr *MockSeqProxyApiClientMockRecorder) ExportAsyncSearch(ctx, in any, opts ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportAsyncSearch", reflect.TypeOf((*MockSeqProxyApiClient)(nil).ExportAsyncSearch), varargs...) +} + // Fetch mocks base method. func (m *MockSeqProxyApiClient) Fetch(ctx context.Context, in *seqproxyapi.FetchRequest, opts ...grpc.CallOption) (seqproxyapi.SeqProxyApi_FetchClient, error) { m.ctrl.T.Helper() @@ -551,6 +571,130 @@ func (mr *MockSeqProxyApi_ExportClientMockRecorder) Trailer() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockSeqProxyApi_ExportClient)(nil).Trailer)) } +// MockSeqProxyApi_ExportAsyncSearchClient is a mock of SeqProxyApi_ExportAsyncSearchClient interface. +type MockSeqProxyApi_ExportAsyncSearchClient struct { + ctrl *gomock.Controller + recorder *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder + isgomock struct{} +} + +// MockSeqProxyApi_ExportAsyncSearchClientMockRecorder is the mock recorder for MockSeqProxyApi_ExportAsyncSearchClient. +type MockSeqProxyApi_ExportAsyncSearchClientMockRecorder struct { + mock *MockSeqProxyApi_ExportAsyncSearchClient +} + +// NewMockSeqProxyApi_ExportAsyncSearchClient creates a new mock instance. +func NewMockSeqProxyApi_ExportAsyncSearchClient(ctrl *gomock.Controller) *MockSeqProxyApi_ExportAsyncSearchClient { + mock := &MockSeqProxyApi_ExportAsyncSearchClient{ctrl: ctrl} + mock.recorder = &MockSeqProxyApi_ExportAsyncSearchClientMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockSeqProxyApi_ExportAsyncSearchClient) EXPECT() *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder { + return m.recorder +} + +// CloseSend mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchClient) CloseSend() error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CloseSend") + ret0, _ := ret[0].(error) + return ret0 +} + +// CloseSend indicates an expected call of CloseSend. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) CloseSend() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).CloseSend)) +} + +// Context mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchClient) Context() context.Context { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Context") + ret0, _ := ret[0].(context.Context) + return ret0 +} + +// Context indicates an expected call of Context. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) Context() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).Context)) +} + +// Header mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchClient) Header() (metadata.MD, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Header") + ret0, _ := ret[0].(metadata.MD) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// Header indicates an expected call of Header. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) Header() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).Header)) +} + +// Recv mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchClient) Recv() (*seqproxyapi.ExportResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Recv") + ret0, _ := ret[0].(*seqproxyapi.ExportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// Recv indicates an expected call of Recv. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) Recv() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).Recv)) +} + +// RecvMsg mocks base method. +func (m_2 *MockSeqProxyApi_ExportAsyncSearchClient) RecvMsg(m any) error { + m_2.ctrl.T.Helper() + ret := m_2.ctrl.Call(m_2, "RecvMsg", m) + ret0, _ := ret[0].(error) + return ret0 +} + +// RecvMsg indicates an expected call of RecvMsg. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) RecvMsg(m any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).RecvMsg), m) +} + +// SendMsg mocks base method. +func (m_2 *MockSeqProxyApi_ExportAsyncSearchClient) SendMsg(m any) error { + m_2.ctrl.T.Helper() + ret := m_2.ctrl.Call(m_2, "SendMsg", m) + ret0, _ := ret[0].(error) + return ret0 +} + +// SendMsg indicates an expected call of SendMsg. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) SendMsg(m any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).SendMsg), m) +} + +// Trailer mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchClient) Trailer() metadata.MD { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Trailer") + ret0, _ := ret[0].(metadata.MD) + return ret0 +} + +// Trailer indicates an expected call of Trailer. +func (mr *MockSeqProxyApi_ExportAsyncSearchClientMockRecorder) Trailer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchClient)(nil).Trailer)) +} + // MockSeqProxyApiServer is a mock of SeqProxyApiServer interface. type MockSeqProxyApiServer struct { ctrl *gomock.Controller @@ -634,6 +778,20 @@ func (mr *MockSeqProxyApiServerMockRecorder) Export(arg0, arg1 any) *gomock.Call return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Export", reflect.TypeOf((*MockSeqProxyApiServer)(nil).Export), arg0, arg1) } +// ExportAsyncSearch mocks base method. +func (m *MockSeqProxyApiServer) ExportAsyncSearch(arg0 *seqproxyapi.ExportAsyncSearchRequest, arg1 seqproxyapi.SeqProxyApi_ExportAsyncSearchServer) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ExportAsyncSearch", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// ExportAsyncSearch indicates an expected call of ExportAsyncSearch. +func (mr *MockSeqProxyApiServerMockRecorder) ExportAsyncSearch(arg0, arg1 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportAsyncSearch", reflect.TypeOf((*MockSeqProxyApiServer)(nil).ExportAsyncSearch), arg0, arg1) +} + // Fetch mocks base method. func (m *MockSeqProxyApiServer) Fetch(arg0 *seqproxyapi.FetchRequest, arg1 seqproxyapi.SeqProxyApi_FetchServer) error { m.ctrl.T.Helper() @@ -1043,3 +1201,123 @@ func (mr *MockSeqProxyApi_ExportServerMockRecorder) SetTrailer(arg0 any) *gomock mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockSeqProxyApi_ExportServer)(nil).SetTrailer), arg0) } + +// MockSeqProxyApi_ExportAsyncSearchServer is a mock of SeqProxyApi_ExportAsyncSearchServer interface. +type MockSeqProxyApi_ExportAsyncSearchServer struct { + ctrl *gomock.Controller + recorder *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder + isgomock struct{} +} + +// MockSeqProxyApi_ExportAsyncSearchServerMockRecorder is the mock recorder for MockSeqProxyApi_ExportAsyncSearchServer. +type MockSeqProxyApi_ExportAsyncSearchServerMockRecorder struct { + mock *MockSeqProxyApi_ExportAsyncSearchServer +} + +// NewMockSeqProxyApi_ExportAsyncSearchServer creates a new mock instance. +func NewMockSeqProxyApi_ExportAsyncSearchServer(ctrl *gomock.Controller) *MockSeqProxyApi_ExportAsyncSearchServer { + mock := &MockSeqProxyApi_ExportAsyncSearchServer{ctrl: ctrl} + mock.recorder = &MockSeqProxyApi_ExportAsyncSearchServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockSeqProxyApi_ExportAsyncSearchServer) EXPECT() *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder { + return m.recorder +} + +// Context mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchServer) Context() context.Context { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Context") + ret0, _ := ret[0].(context.Context) + return ret0 +} + +// Context indicates an expected call of Context. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) Context() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).Context)) +} + +// RecvMsg mocks base method. +func (m_2 *MockSeqProxyApi_ExportAsyncSearchServer) RecvMsg(m any) error { + m_2.ctrl.T.Helper() + ret := m_2.ctrl.Call(m_2, "RecvMsg", m) + ret0, _ := ret[0].(error) + return ret0 +} + +// RecvMsg indicates an expected call of RecvMsg. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) RecvMsg(m any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).RecvMsg), m) +} + +// Send mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchServer) Send(arg0 *seqproxyapi.ExportResponse) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Send", arg0) + ret0, _ := ret[0].(error) + return ret0 +} + +// Send indicates an expected call of Send. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) Send(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).Send), arg0) +} + +// SendHeader mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchServer) SendHeader(arg0 metadata.MD) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SendHeader", arg0) + ret0, _ := ret[0].(error) + return ret0 +} + +// SendHeader indicates an expected call of SendHeader. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) SendHeader(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).SendHeader), arg0) +} + +// SendMsg mocks base method. +func (m_2 *MockSeqProxyApi_ExportAsyncSearchServer) SendMsg(m any) error { + m_2.ctrl.T.Helper() + ret := m_2.ctrl.Call(m_2, "SendMsg", m) + ret0, _ := ret[0].(error) + return ret0 +} + +// SendMsg indicates an expected call of SendMsg. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) SendMsg(m any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).SendMsg), m) +} + +// SetHeader mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchServer) SetHeader(arg0 metadata.MD) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetHeader", arg0) + ret0, _ := ret[0].(error) + return ret0 +} + +// SetHeader indicates an expected call of SetHeader. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) SetHeader(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).SetHeader), arg0) +} + +// SetTrailer mocks base method. +func (m *MockSeqProxyApi_ExportAsyncSearchServer) SetTrailer(arg0 metadata.MD) { + m.ctrl.T.Helper() + m.ctrl.Call(m, "SetTrailer", arg0) +} + +// SetTrailer indicates an expected call of SetTrailer. +func (mr *MockSeqProxyApi_ExportAsyncSearchServerMockRecorder) SetTrailer(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockSeqProxyApi_ExportAsyncSearchServer)(nil).SetTrailer), arg0) +} diff --git a/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.pb.go b/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.pb.go index eeba398..f73eec9 100644 --- a/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.pb.go +++ b/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v7.34.1 +// protoc v7.35.1 // source: v1/seq_proxy_api.proto package seqproxyapi @@ -2433,6 +2433,69 @@ func (x *ExportRequest) GetOffset() int64 { return 0 } +type ExportAsyncSearchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SearchId string `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` +} + +func (x *ExportAsyncSearchRequest) Reset() { + *x = ExportAsyncSearchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_v1_seq_proxy_api_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExportAsyncSearchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportAsyncSearchRequest) ProtoMessage() {} + +func (x *ExportAsyncSearchRequest) ProtoReflect() protoreflect.Message { + mi := &file_v1_seq_proxy_api_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 ExportAsyncSearchRequest.ProtoReflect.Descriptor instead. +func (*ExportAsyncSearchRequest) Descriptor() ([]byte, []int) { + return file_v1_seq_proxy_api_proto_rawDescGZIP(), []int{34} +} + +func (x *ExportAsyncSearchRequest) GetSearchId() string { + if x != nil { + return x.SearchId + } + return "" +} + +func (x *ExportAsyncSearchRequest) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *ExportAsyncSearchRequest) GetOffset() int64 { + if x != nil { + return x.Offset + } + return 0 +} + type ExportResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2444,7 +2507,7 @@ type ExportResponse struct { func (x *ExportResponse) Reset() { *x = ExportResponse{} if protoimpl.UnsafeEnabled { - mi := &file_v1_seq_proxy_api_proto_msgTypes[34] + mi := &file_v1_seq_proxy_api_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2457,7 +2520,7 @@ func (x *ExportResponse) String() string { func (*ExportResponse) ProtoMessage() {} func (x *ExportResponse) ProtoReflect() protoreflect.Message { - mi := &file_v1_seq_proxy_api_proto_msgTypes[34] + mi := &file_v1_seq_proxy_api_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2470,7 +2533,7 @@ func (x *ExportResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead. func (*ExportResponse) Descriptor() ([]byte, []int) { - return file_v1_seq_proxy_api_proto_rawDescGZIP(), []int{34} + return file_v1_seq_proxy_api_proto_rawDescGZIP(), []int{35} } func (x *ExportResponse) GetDoc() *Document { @@ -2496,7 +2559,7 @@ type Aggregation_Bucket struct { func (x *Aggregation_Bucket) Reset() { *x = Aggregation_Bucket{} if protoimpl.UnsafeEnabled { - mi := &file_v1_seq_proxy_api_proto_msgTypes[35] + mi := &file_v1_seq_proxy_api_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2509,7 +2572,7 @@ func (x *Aggregation_Bucket) String() string { func (*Aggregation_Bucket) ProtoMessage() {} func (x *Aggregation_Bucket) ProtoReflect() protoreflect.Message { - mi := &file_v1_seq_proxy_api_proto_msgTypes[35] + mi := &file_v1_seq_proxy_api_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2573,7 +2636,7 @@ type Histogram_Bucket struct { func (x *Histogram_Bucket) Reset() { *x = Histogram_Bucket{} if protoimpl.UnsafeEnabled { - mi := &file_v1_seq_proxy_api_proto_msgTypes[36] + mi := &file_v1_seq_proxy_api_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2586,7 +2649,7 @@ func (x *Histogram_Bucket) String() string { func (*Histogram_Bucket) ProtoMessage() {} func (x *Histogram_Bucket) ProtoReflect() protoreflect.Message { - mi := &file_v1_seq_proxy_api_proto_msgTypes[36] + mi := &file_v1_seq_proxy_api_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2959,123 +3022,135 @@ var file_v1_seq_proxy_api_proto_rawDesc = []byte{ 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x3c, 0x0a, 0x0e, 0x45, 0x78, - 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x03, - 0x64, 0x6f, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x65, 0x71, 0x70, - 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x03, 0x64, 0x6f, 0x63, 0x2a, 0x82, 0x01, 0x0a, 0x09, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, - 0x5f, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, - 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x52, 0x45, 0x53, 0x50, - 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x46, 0x52, - 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x48, 0x49, 0x54, 0x10, 0x03, 0x2a, 0x91, 0x01, - 0x0a, 0x07, 0x41, 0x67, 0x67, 0x46, 0x75, 0x6e, 0x63, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x47, 0x47, - 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x10, 0x0a, - 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x01, 0x12, - 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x4d, 0x49, 0x4e, 0x10, - 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x4d, 0x41, - 0x58, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, - 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, - 0x43, 0x5f, 0x51, 0x55, 0x41, 0x4e, 0x54, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, - 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x10, - 0x06, 0x2a, 0x26, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, - 0x44, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x52, - 0x44, 0x45, 0x52, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x2a, 0x8a, 0x01, 0x0a, 0x11, 0x41, 0x73, - 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x1f, 0x0a, 0x1b, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x10, 0x00, - 0x12, 0x19, 0x0a, 0x15, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x41, - 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x73, - 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x10, 0x03, 0x32, 0xd4, 0x09, 0x0a, 0x0b, 0x53, 0x65, 0x71, 0x50, 0x72, - 0x6f, 0x78, 0x79, 0x41, 0x70, 0x69, 0x12, 0x49, 0x0a, 0x06, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x61, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x65, 0x71, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x67, 0x72, 0x61, 0x6d, 0x12, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, - 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x70, + 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x63, 0x0a, 0x18, 0x45, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, + 0x3c, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2a, 0x0a, 0x03, 0x64, 0x6f, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x03, 0x64, 0x6f, 0x63, 0x2a, 0x82, 0x01, + 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, + 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, + 0x4e, 0x59, 0x5f, 0x46, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x48, 0x49, 0x54, + 0x10, 0x03, 0x2a, 0x91, 0x01, 0x0a, 0x07, 0x41, 0x67, 0x67, 0x46, 0x75, 0x6e, 0x63, 0x12, 0x12, + 0x0a, 0x0e, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x53, + 0x55, 0x4d, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, + 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, + 0x4e, 0x43, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, + 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x47, + 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x51, 0x55, 0x41, 0x4e, 0x54, 0x49, 0x4c, 0x45, 0x10, + 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x55, 0x4e, + 0x49, 0x51, 0x55, 0x45, 0x10, 0x06, 0x2a, 0x26, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, + 0x0e, 0x0a, 0x0a, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x00, 0x12, + 0x0d, 0x0a, 0x09, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x2a, 0x8a, + 0x01, 0x0a, 0x11, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x10, 0x01, + 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x10, 0x02, 0x12, + 0x1a, 0x0a, 0x16, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x03, 0x32, 0xb7, 0x0a, 0x0a, 0x0b, + 0x53, 0x65, 0x71, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x41, 0x70, 0x69, 0x12, 0x49, 0x0a, 0x06, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, + 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, + 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0c, 0x47, 0x65, 0x74, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x69, - 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x43, 0x0a, 0x05, 0x46, 0x65, 0x74, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x73, 0x65, 0x71, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, - 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, + 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x4b, 0x0a, 0x06, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x71, 0x70, - 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x67, 0x0a, 0x10, - 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x12, 0x27, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x71, 0x70, - 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x16, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, - 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x2d, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x05, 0x46, 0x65, 0x74, 0x63, 0x68, 0x12, + 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, + 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x07, 0x4d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, + 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, + 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x06, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x6a, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, - 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x11, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, - 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, - 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, - 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x5a, - 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x7a, 0x6f, 0x6e, - 0x74, 0x65, 0x63, 0x68, 0x2f, 0x73, 0x65, 0x71, 0x2d, 0x75, 0x69, 0x2f, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, - 0x73, 0x65, 0x71, 0x64, 0x62, 0x2f, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, - 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x67, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, + 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x16, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2d, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, + 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x71, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6a, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, + 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, + 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x61, 0x0a, 0x11, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, + 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, + 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x7a, 0x6f, 0x6e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x73, 0x65, 0x71, + 0x2d, 0x75, 0x69, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6b, 0x67, + 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x73, 0x65, 0x71, 0x64, 0x62, 0x2f, 0x73, 0x65, + 0x71, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x71, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3091,7 +3166,7 @@ func file_v1_seq_proxy_api_proto_rawDescGZIP() []byte { } var file_v1_seq_proxy_api_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_v1_seq_proxy_api_proto_msgTypes = make([]protoimpl.MessageInfo, 37) +var file_v1_seq_proxy_api_proto_msgTypes = make([]protoimpl.MessageInfo, 38) var file_v1_seq_proxy_api_proto_goTypes = []any{ (ErrorCode)(0), // 0: seqproxyapi.v1.ErrorCode (AggFunc)(0), // 1: seqproxyapi.v1.AggFunc @@ -3131,19 +3206,20 @@ var file_v1_seq_proxy_api_proto_goTypes = []any{ (*StoreStatus)(nil), // 35: seqproxyapi.v1.StoreStatus (*StoreStatusValues)(nil), // 36: seqproxyapi.v1.StoreStatusValues (*ExportRequest)(nil), // 37: seqproxyapi.v1.ExportRequest - (*ExportResponse)(nil), // 38: seqproxyapi.v1.ExportResponse - (*Aggregation_Bucket)(nil), // 39: seqproxyapi.v1.Aggregation.Bucket - (*Histogram_Bucket)(nil), // 40: seqproxyapi.v1.Histogram.Bucket - (*timestamppb.Timestamp)(nil), // 41: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 42: google.protobuf.Duration + (*ExportAsyncSearchRequest)(nil), // 38: seqproxyapi.v1.ExportAsyncSearchRequest + (*ExportResponse)(nil), // 39: seqproxyapi.v1.ExportResponse + (*Aggregation_Bucket)(nil), // 40: seqproxyapi.v1.Aggregation.Bucket + (*Histogram_Bucket)(nil), // 41: seqproxyapi.v1.Histogram.Bucket + (*timestamppb.Timestamp)(nil), // 42: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 43: google.protobuf.Duration } var file_v1_seq_proxy_api_proto_depIdxs = []int32{ 0, // 0: seqproxyapi.v1.Error.code:type_name -> seqproxyapi.v1.ErrorCode - 41, // 1: seqproxyapi.v1.Document.time:type_name -> google.protobuf.Timestamp - 39, // 2: seqproxyapi.v1.Aggregation.buckets:type_name -> seqproxyapi.v1.Aggregation.Bucket - 40, // 3: seqproxyapi.v1.Histogram.buckets:type_name -> seqproxyapi.v1.Histogram.Bucket - 41, // 4: seqproxyapi.v1.SearchQuery.from:type_name -> google.protobuf.Timestamp - 41, // 5: seqproxyapi.v1.SearchQuery.to:type_name -> google.protobuf.Timestamp + 42, // 1: seqproxyapi.v1.Document.time:type_name -> google.protobuf.Timestamp + 40, // 2: seqproxyapi.v1.Aggregation.buckets:type_name -> seqproxyapi.v1.Aggregation.Bucket + 41, // 3: seqproxyapi.v1.Histogram.buckets:type_name -> seqproxyapi.v1.Histogram.Bucket + 42, // 4: seqproxyapi.v1.SearchQuery.from:type_name -> google.protobuf.Timestamp + 42, // 5: seqproxyapi.v1.SearchQuery.to:type_name -> google.protobuf.Timestamp 1, // 6: seqproxyapi.v1.AggQuery.func:type_name -> seqproxyapi.v1.AggFunc 8, // 7: seqproxyapi.v1.SearchRequest.query:type_name -> seqproxyapi.v1.SearchQuery 2, // 8: seqproxyapi.v1.SearchRequest.order:type_name -> seqproxyapi.v1.Order @@ -3157,7 +3233,7 @@ var file_v1_seq_proxy_api_proto_depIdxs = []int32{ 6, // 16: seqproxyapi.v1.ComplexSearchResponse.aggs:type_name -> seqproxyapi.v1.Aggregation 7, // 17: seqproxyapi.v1.ComplexSearchResponse.hist:type_name -> seqproxyapi.v1.Histogram 4, // 18: seqproxyapi.v1.ComplexSearchResponse.error:type_name -> seqproxyapi.v1.Error - 42, // 19: seqproxyapi.v1.StartAsyncSearchRequest.retention:type_name -> google.protobuf.Duration + 43, // 19: seqproxyapi.v1.StartAsyncSearchRequest.retention:type_name -> google.protobuf.Duration 8, // 20: seqproxyapi.v1.StartAsyncSearchRequest.query:type_name -> seqproxyapi.v1.SearchQuery 9, // 21: seqproxyapi.v1.StartAsyncSearchRequest.aggs:type_name -> seqproxyapi.v1.AggQuery 10, // 22: seqproxyapi.v1.StartAsyncSearchRequest.hist:type_name -> seqproxyapi.v1.HistQuery @@ -3165,18 +3241,18 @@ var file_v1_seq_proxy_api_proto_depIdxs = []int32{ 3, // 24: seqproxyapi.v1.FetchAsyncSearchResultResponse.status:type_name -> seqproxyapi.v1.AsyncSearchStatus 15, // 25: seqproxyapi.v1.FetchAsyncSearchResultResponse.request:type_name -> seqproxyapi.v1.StartAsyncSearchRequest 14, // 26: seqproxyapi.v1.FetchAsyncSearchResultResponse.response:type_name -> seqproxyapi.v1.ComplexSearchResponse - 41, // 27: seqproxyapi.v1.FetchAsyncSearchResultResponse.started_at:type_name -> google.protobuf.Timestamp - 41, // 28: seqproxyapi.v1.FetchAsyncSearchResultResponse.expires_at:type_name -> google.protobuf.Timestamp - 41, // 29: seqproxyapi.v1.FetchAsyncSearchResultResponse.canceled_at:type_name -> google.protobuf.Timestamp + 42, // 27: seqproxyapi.v1.FetchAsyncSearchResultResponse.started_at:type_name -> google.protobuf.Timestamp + 42, // 28: seqproxyapi.v1.FetchAsyncSearchResultResponse.expires_at:type_name -> google.protobuf.Timestamp + 42, // 29: seqproxyapi.v1.FetchAsyncSearchResultResponse.canceled_at:type_name -> google.protobuf.Timestamp 4, // 30: seqproxyapi.v1.FetchAsyncSearchResultResponse.error:type_name -> seqproxyapi.v1.Error 3, // 31: seqproxyapi.v1.GetAsyncSearchesListRequest.status:type_name -> seqproxyapi.v1.AsyncSearchStatus 25, // 32: seqproxyapi.v1.GetAsyncSearchesListResponse.searches:type_name -> seqproxyapi.v1.AsyncSearchesListItem 4, // 33: seqproxyapi.v1.GetAsyncSearchesListResponse.error:type_name -> seqproxyapi.v1.Error 3, // 34: seqproxyapi.v1.AsyncSearchesListItem.status:type_name -> seqproxyapi.v1.AsyncSearchStatus 15, // 35: seqproxyapi.v1.AsyncSearchesListItem.request:type_name -> seqproxyapi.v1.StartAsyncSearchRequest - 41, // 36: seqproxyapi.v1.AsyncSearchesListItem.started_at:type_name -> google.protobuf.Timestamp - 41, // 37: seqproxyapi.v1.AsyncSearchesListItem.expires_at:type_name -> google.protobuf.Timestamp - 41, // 38: seqproxyapi.v1.AsyncSearchesListItem.canceled_at:type_name -> google.protobuf.Timestamp + 42, // 36: seqproxyapi.v1.AsyncSearchesListItem.started_at:type_name -> google.protobuf.Timestamp + 42, // 37: seqproxyapi.v1.AsyncSearchesListItem.expires_at:type_name -> google.protobuf.Timestamp + 42, // 38: seqproxyapi.v1.AsyncSearchesListItem.canceled_at:type_name -> google.protobuf.Timestamp 8, // 39: seqproxyapi.v1.GetAggregationRequest.query:type_name -> seqproxyapi.v1.SearchQuery 9, // 40: seqproxyapi.v1.GetAggregationRequest.aggs:type_name -> seqproxyapi.v1.AggQuery 6, // 41: seqproxyapi.v1.GetAggregationResponse.aggs:type_name -> seqproxyapi.v1.Aggregation @@ -3185,14 +3261,14 @@ var file_v1_seq_proxy_api_proto_depIdxs = []int32{ 10, // 44: seqproxyapi.v1.GetHistogramRequest.hist:type_name -> seqproxyapi.v1.HistQuery 7, // 45: seqproxyapi.v1.GetHistogramResponse.hist:type_name -> seqproxyapi.v1.Histogram 4, // 46: seqproxyapi.v1.GetHistogramResponse.error:type_name -> seqproxyapi.v1.Error - 41, // 47: seqproxyapi.v1.StatusResponse.oldest_storage_time:type_name -> google.protobuf.Timestamp + 42, // 47: seqproxyapi.v1.StatusResponse.oldest_storage_time:type_name -> google.protobuf.Timestamp 35, // 48: seqproxyapi.v1.StatusResponse.stores:type_name -> seqproxyapi.v1.StoreStatus 36, // 49: seqproxyapi.v1.StoreStatus.values:type_name -> seqproxyapi.v1.StoreStatusValues - 41, // 50: seqproxyapi.v1.StoreStatusValues.oldest_time:type_name -> google.protobuf.Timestamp + 42, // 50: seqproxyapi.v1.StoreStatusValues.oldest_time:type_name -> google.protobuf.Timestamp 8, // 51: seqproxyapi.v1.ExportRequest.query:type_name -> seqproxyapi.v1.SearchQuery 5, // 52: seqproxyapi.v1.ExportResponse.doc:type_name -> seqproxyapi.v1.Document - 41, // 53: seqproxyapi.v1.Aggregation.Bucket.ts:type_name -> google.protobuf.Timestamp - 41, // 54: seqproxyapi.v1.Histogram.Bucket.ts:type_name -> google.protobuf.Timestamp + 42, // 53: seqproxyapi.v1.Aggregation.Bucket.ts:type_name -> google.protobuf.Timestamp + 42, // 54: seqproxyapi.v1.Histogram.Bucket.ts:type_name -> google.protobuf.Timestamp 11, // 55: seqproxyapi.v1.SeqProxyApi.Search:input_type -> seqproxyapi.v1.SearchRequest 12, // 56: seqproxyapi.v1.SeqProxyApi.ComplexSearch:input_type -> seqproxyapi.v1.ComplexSearchRequest 26, // 57: seqproxyapi.v1.SeqProxyApi.GetAggregation:input_type -> seqproxyapi.v1.GetAggregationRequest @@ -3206,21 +3282,23 @@ var file_v1_seq_proxy_api_proto_depIdxs = []int32{ 19, // 65: seqproxyapi.v1.SeqProxyApi.CancelAsyncSearch:input_type -> seqproxyapi.v1.CancelAsyncSearchRequest 21, // 66: seqproxyapi.v1.SeqProxyApi.DeleteAsyncSearch:input_type -> seqproxyapi.v1.DeleteAsyncSearchRequest 23, // 67: seqproxyapi.v1.SeqProxyApi.GetAsyncSearchesList:input_type -> seqproxyapi.v1.GetAsyncSearchesListRequest - 13, // 68: seqproxyapi.v1.SeqProxyApi.Search:output_type -> seqproxyapi.v1.SearchResponse - 14, // 69: seqproxyapi.v1.SeqProxyApi.ComplexSearch:output_type -> seqproxyapi.v1.ComplexSearchResponse - 27, // 70: seqproxyapi.v1.SeqProxyApi.GetAggregation:output_type -> seqproxyapi.v1.GetAggregationResponse - 29, // 71: seqproxyapi.v1.SeqProxyApi.GetHistogram:output_type -> seqproxyapi.v1.GetHistogramResponse - 5, // 72: seqproxyapi.v1.SeqProxyApi.Fetch:output_type -> seqproxyapi.v1.Document - 32, // 73: seqproxyapi.v1.SeqProxyApi.Mapping:output_type -> seqproxyapi.v1.MappingResponse - 34, // 74: seqproxyapi.v1.SeqProxyApi.Status:output_type -> seqproxyapi.v1.StatusResponse - 38, // 75: seqproxyapi.v1.SeqProxyApi.Export:output_type -> seqproxyapi.v1.ExportResponse - 16, // 76: seqproxyapi.v1.SeqProxyApi.StartAsyncSearch:output_type -> seqproxyapi.v1.StartAsyncSearchResponse - 18, // 77: seqproxyapi.v1.SeqProxyApi.FetchAsyncSearchResult:output_type -> seqproxyapi.v1.FetchAsyncSearchResultResponse - 20, // 78: seqproxyapi.v1.SeqProxyApi.CancelAsyncSearch:output_type -> seqproxyapi.v1.CancelAsyncSearchResponse - 22, // 79: seqproxyapi.v1.SeqProxyApi.DeleteAsyncSearch:output_type -> seqproxyapi.v1.DeleteAsyncSearchResponse - 24, // 80: seqproxyapi.v1.SeqProxyApi.GetAsyncSearchesList:output_type -> seqproxyapi.v1.GetAsyncSearchesListResponse - 68, // [68:81] is the sub-list for method output_type - 55, // [55:68] is the sub-list for method input_type + 38, // 68: seqproxyapi.v1.SeqProxyApi.ExportAsyncSearch:input_type -> seqproxyapi.v1.ExportAsyncSearchRequest + 13, // 69: seqproxyapi.v1.SeqProxyApi.Search:output_type -> seqproxyapi.v1.SearchResponse + 14, // 70: seqproxyapi.v1.SeqProxyApi.ComplexSearch:output_type -> seqproxyapi.v1.ComplexSearchResponse + 27, // 71: seqproxyapi.v1.SeqProxyApi.GetAggregation:output_type -> seqproxyapi.v1.GetAggregationResponse + 29, // 72: seqproxyapi.v1.SeqProxyApi.GetHistogram:output_type -> seqproxyapi.v1.GetHistogramResponse + 5, // 73: seqproxyapi.v1.SeqProxyApi.Fetch:output_type -> seqproxyapi.v1.Document + 32, // 74: seqproxyapi.v1.SeqProxyApi.Mapping:output_type -> seqproxyapi.v1.MappingResponse + 34, // 75: seqproxyapi.v1.SeqProxyApi.Status:output_type -> seqproxyapi.v1.StatusResponse + 39, // 76: seqproxyapi.v1.SeqProxyApi.Export:output_type -> seqproxyapi.v1.ExportResponse + 16, // 77: seqproxyapi.v1.SeqProxyApi.StartAsyncSearch:output_type -> seqproxyapi.v1.StartAsyncSearchResponse + 18, // 78: seqproxyapi.v1.SeqProxyApi.FetchAsyncSearchResult:output_type -> seqproxyapi.v1.FetchAsyncSearchResultResponse + 20, // 79: seqproxyapi.v1.SeqProxyApi.CancelAsyncSearch:output_type -> seqproxyapi.v1.CancelAsyncSearchResponse + 22, // 80: seqproxyapi.v1.SeqProxyApi.DeleteAsyncSearch:output_type -> seqproxyapi.v1.DeleteAsyncSearchResponse + 24, // 81: seqproxyapi.v1.SeqProxyApi.GetAsyncSearchesList:output_type -> seqproxyapi.v1.GetAsyncSearchesListResponse + 39, // 82: seqproxyapi.v1.SeqProxyApi.ExportAsyncSearch:output_type -> seqproxyapi.v1.ExportResponse + 69, // [69:83] is the sub-list for method output_type + 55, // [55:69] is the sub-list for method input_type 55, // [55:55] is the sub-list for extension type_name 55, // [55:55] is the sub-list for extension extendee 0, // [0:55] is the sub-list for field type_name @@ -3641,7 +3719,7 @@ func file_v1_seq_proxy_api_proto_init() { } } file_v1_seq_proxy_api_proto_msgTypes[34].Exporter = func(v any, i int) any { - switch v := v.(*ExportResponse); i { + switch v := v.(*ExportAsyncSearchRequest); i { case 0: return &v.state case 1: @@ -3653,7 +3731,7 @@ func file_v1_seq_proxy_api_proto_init() { } } file_v1_seq_proxy_api_proto_msgTypes[35].Exporter = func(v any, i int) any { - switch v := v.(*Aggregation_Bucket); i { + switch v := v.(*ExportResponse); i { case 0: return &v.state case 1: @@ -3665,6 +3743,18 @@ func file_v1_seq_proxy_api_proto_init() { } } file_v1_seq_proxy_api_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*Aggregation_Bucket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_v1_seq_proxy_api_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*Histogram_Bucket); i { case 0: return &v.state @@ -3686,14 +3776,14 @@ func file_v1_seq_proxy_api_proto_init() { file_v1_seq_proxy_api_proto_msgTypes[21].OneofWrappers = []any{} file_v1_seq_proxy_api_proto_msgTypes[30].OneofWrappers = []any{} file_v1_seq_proxy_api_proto_msgTypes[31].OneofWrappers = []any{} - file_v1_seq_proxy_api_proto_msgTypes[35].OneofWrappers = []any{} + file_v1_seq_proxy_api_proto_msgTypes[36].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_v1_seq_proxy_api_proto_rawDesc, NumEnums: 4, - NumMessages: 37, + NumMessages: 38, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.proto b/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.proto index 2602162..37c17db 100644 --- a/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.proto +++ b/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api.proto @@ -49,6 +49,9 @@ service SeqProxyApi { // Fetch list of async searches. rpc GetAsyncSearchesList(GetAsyncSearchesListRequest) returns (GetAsyncSearchesListResponse) {} + + // Stream documents for given async search ID. + rpc ExportAsyncSearch(ExportAsyncSearchRequest) returns (stream ExportResponse) {} } // Custom error code, returned by seq-db proxy. @@ -337,6 +340,12 @@ message ExportRequest { int64 offset = 3; // Search offset. } +message ExportAsyncSearchRequest { + string search_id = 1; + int64 size = 2; + int64 offset = 3; +} + message ExportResponse { Document doc = 1; // Response document. } diff --git a/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api_grpc.pb.go b/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api_grpc.pb.go index ee491b3..6533d3b 100644 --- a/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api_grpc.pb.go +++ b/internal/pkg/client/seqdb/seqproxyapi/v1/seq_proxy_api_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.4.0 -// - protoc v7.34.1 +// - protoc v7.35.1 // source: v1/seq_proxy_api.proto package seqproxyapi @@ -32,6 +32,7 @@ const ( SeqProxyApi_CancelAsyncSearch_FullMethodName = "/seqproxyapi.v1.SeqProxyApi/CancelAsyncSearch" SeqProxyApi_DeleteAsyncSearch_FullMethodName = "/seqproxyapi.v1.SeqProxyApi/DeleteAsyncSearch" SeqProxyApi_GetAsyncSearchesList_FullMethodName = "/seqproxyapi.v1.SeqProxyApi/GetAsyncSearchesList" + SeqProxyApi_ExportAsyncSearch_FullMethodName = "/seqproxyapi.v1.SeqProxyApi/ExportAsyncSearch" ) // SeqProxyApiClient is the client API for SeqProxyApi service. @@ -68,6 +69,8 @@ type SeqProxyApiClient interface { DeleteAsyncSearch(ctx context.Context, in *DeleteAsyncSearchRequest, opts ...grpc.CallOption) (*DeleteAsyncSearchResponse, error) // Fetch list of async searches. GetAsyncSearchesList(ctx context.Context, in *GetAsyncSearchesListRequest, opts ...grpc.CallOption) (*GetAsyncSearchesListResponse, error) + // Stream documents for given async search ID. + ExportAsyncSearch(ctx context.Context, in *ExportAsyncSearchRequest, opts ...grpc.CallOption) (SeqProxyApi_ExportAsyncSearchClient, error) } type seqProxyApiClient struct { @@ -254,6 +257,39 @@ func (c *seqProxyApiClient) GetAsyncSearchesList(ctx context.Context, in *GetAsy return out, nil } +func (c *seqProxyApiClient) ExportAsyncSearch(ctx context.Context, in *ExportAsyncSearchRequest, opts ...grpc.CallOption) (SeqProxyApi_ExportAsyncSearchClient, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &SeqProxyApi_ServiceDesc.Streams[2], SeqProxyApi_ExportAsyncSearch_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &seqProxyApiExportAsyncSearchClient{ClientStream: stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type SeqProxyApi_ExportAsyncSearchClient interface { + Recv() (*ExportResponse, error) + grpc.ClientStream +} + +type seqProxyApiExportAsyncSearchClient struct { + grpc.ClientStream +} + +func (x *seqProxyApiExportAsyncSearchClient) Recv() (*ExportResponse, error) { + m := new(ExportResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // SeqProxyApiServer is the server API for SeqProxyApi service. // All implementations should embed UnimplementedSeqProxyApiServer // for forward compatibility @@ -288,6 +324,8 @@ type SeqProxyApiServer interface { DeleteAsyncSearch(context.Context, *DeleteAsyncSearchRequest) (*DeleteAsyncSearchResponse, error) // Fetch list of async searches. GetAsyncSearchesList(context.Context, *GetAsyncSearchesListRequest) (*GetAsyncSearchesListResponse, error) + // Stream documents for given async search ID. + ExportAsyncSearch(*ExportAsyncSearchRequest, SeqProxyApi_ExportAsyncSearchServer) error } // UnimplementedSeqProxyApiServer should be embedded to have forward compatible implementations. @@ -333,6 +371,9 @@ func (UnimplementedSeqProxyApiServer) DeleteAsyncSearch(context.Context, *Delete func (UnimplementedSeqProxyApiServer) GetAsyncSearchesList(context.Context, *GetAsyncSearchesListRequest) (*GetAsyncSearchesListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAsyncSearchesList not implemented") } +func (UnimplementedSeqProxyApiServer) ExportAsyncSearch(*ExportAsyncSearchRequest, SeqProxyApi_ExportAsyncSearchServer) error { + return status.Errorf(codes.Unimplemented, "method ExportAsyncSearch not implemented") +} // UnsafeSeqProxyApiServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SeqProxyApiServer will @@ -585,6 +626,27 @@ func _SeqProxyApi_GetAsyncSearchesList_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _SeqProxyApi_ExportAsyncSearch_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ExportAsyncSearchRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(SeqProxyApiServer).ExportAsyncSearch(m, &seqProxyApiExportAsyncSearchServer{ServerStream: stream}) +} + +type SeqProxyApi_ExportAsyncSearchServer interface { + Send(*ExportResponse) error + grpc.ServerStream +} + +type seqProxyApiExportAsyncSearchServer struct { + grpc.ServerStream +} + +func (x *seqProxyApiExportAsyncSearchServer) Send(m *ExportResponse) error { + return x.ServerStream.SendMsg(m) +} + // SeqProxyApi_ServiceDesc is the grpc.ServiceDesc for SeqProxyApi service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -648,6 +710,11 @@ var SeqProxyApi_ServiceDesc = grpc.ServiceDesc{ Handler: _SeqProxyApi_Export_Handler, ServerStreams: true, }, + { + StreamName: "ExportAsyncSearch", + Handler: _SeqProxyApi_ExportAsyncSearch_Handler, + ServerStreams: true, + }, }, Metadata: "v1/seq_proxy_api.proto", } diff --git a/internal/pkg/service/async_searches/mock/service.go b/internal/pkg/service/async_searches/mock/service.go index 4349018..7cfae05 100644 --- a/internal/pkg/service/async_searches/mock/service.go +++ b/internal/pkg/service/async_searches/mock/service.go @@ -13,6 +13,7 @@ import ( context "context" reflect "reflect" + httputil "github.com/ozontech/seq-ui/internal/api/httputil" seqapi "github.com/ozontech/seq-ui/pkg/seqapi/v1" gomock "go.uber.org/mock/gomock" ) @@ -71,6 +72,20 @@ func (mr *MockServiceMockRecorder) DeleteAsyncSearch(arg0, arg1 any) *gomock.Cal return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAsyncSearch", reflect.TypeOf((*MockService)(nil).DeleteAsyncSearch), arg0, arg1) } +// ExportAsyncSearch mocks base method. +func (m *MockService) ExportAsyncSearch(arg0 context.Context, arg1 *seqapi.ExportAsyncSearchRequest, arg2 *httputil.ChunkedWriter) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ExportAsyncSearch", arg0, arg1, arg2) + ret0, _ := ret[0].(error) + return ret0 +} + +// ExportAsyncSearch indicates an expected call of ExportAsyncSearch. +func (mr *MockServiceMockRecorder) ExportAsyncSearch(arg0, arg1, arg2 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportAsyncSearch", reflect.TypeOf((*MockService)(nil).ExportAsyncSearch), arg0, arg1, arg2) +} + // FetchAsyncSearchResult mocks base method. func (m *MockService) FetchAsyncSearchResult(arg0 context.Context, arg1 *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error) { m.ctrl.T.Helper() diff --git a/internal/pkg/service/async_searches/service.go b/internal/pkg/service/async_searches/service.go index d6f4825..a772afa 100644 --- a/internal/pkg/service/async_searches/service.go +++ b/internal/pkg/service/async_searches/service.go @@ -10,6 +10,7 @@ import ( "github.com/cenkalti/backoff/v4" "go.uber.org/zap" + "github.com/ozontech/seq-ui/internal/api/httputil" "github.com/ozontech/seq-ui/internal/app/config" "github.com/ozontech/seq-ui/internal/app/types" "github.com/ozontech/seq-ui/internal/pkg/client/seqdb" @@ -33,6 +34,7 @@ type Service interface { CancelAsyncSearch(context.Context, *seqapi.CancelAsyncSearchRequest) (*seqapi.CancelAsyncSearchResponse, error) FetchAsyncSearchResult(context.Context, *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error) GetAsyncSearchesList(context.Context, *seqapi.GetAsyncSearchesListRequest) (*seqapi.GetAsyncSearchesListResponse, error) + ExportAsyncSearch(context.Context, *seqapi.ExportAsyncSearchRequest, *httputil.ChunkedWriter) error } type service struct { @@ -160,6 +162,13 @@ func (s *service) FetchAsyncSearchResult(ctx context.Context, req *seqapi.FetchA return resp, nil } +func (s *service) ExportAsyncSearch(ctx context.Context, req *seqapi.ExportAsyncSearchRequest, cw *httputil.ChunkedWriter) error { + if err := s.seqDB.ExportAsyncSearch(ctx, req, cw); err != nil { + return fmt.Errorf("failed to export async search: %w", err) + } + return nil +} + func (s *service) GetAsyncSearchesList(ctx context.Context, req *seqapi.GetAsyncSearchesListRequest) (*seqapi.GetAsyncSearchesListResponse, error) { searches, err := s.repo.GetAsyncSearchesList(ctx, types.GetAsyncSearchesListRequest{ Owner: req.OwnerName, diff --git a/pkg/dashboards/v1/dashboards.pb.go b/pkg/dashboards/v1/dashboards.pb.go index 7f74181..d11a515 100644 --- a/pkg/dashboards/v1/dashboards.pb.go +++ b/pkg/dashboards/v1/dashboards.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v7.34.1 +// protoc v7.35.1 // source: dashboards/v1/dashboards.proto package dashboards diff --git a/pkg/dashboards/v1/dashboards_grpc.pb.go b/pkg/dashboards/v1/dashboards_grpc.pb.go index 8217c47..9559155 100644 --- a/pkg/dashboards/v1/dashboards_grpc.pb.go +++ b/pkg/dashboards/v1/dashboards_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.4.0 -// - protoc v7.34.1 +// - protoc v7.35.1 // source: dashboards/v1/dashboards.proto package dashboards diff --git a/pkg/errorgroups/v1/errorgroups.pb.go b/pkg/errorgroups/v1/errorgroups.pb.go index cc0e2c1..763796e 100644 --- a/pkg/errorgroups/v1/errorgroups.pb.go +++ b/pkg/errorgroups/v1/errorgroups.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v7.34.1 +// protoc v7.35.1 // source: errorgroups/v1/errorgroups.proto package errorgroups diff --git a/pkg/errorgroups/v1/errorgroups_grpc.pb.go b/pkg/errorgroups/v1/errorgroups_grpc.pb.go index f8c6f27..a284026 100644 --- a/pkg/errorgroups/v1/errorgroups_grpc.pb.go +++ b/pkg/errorgroups/v1/errorgroups_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.4.0 -// - protoc v7.34.1 +// - protoc v7.35.1 // source: errorgroups/v1/errorgroups.proto package errorgroups diff --git a/pkg/massexport/v1/massexport.pb.go b/pkg/massexport/v1/massexport.pb.go index 47c9007..3c5f3e9 100644 --- a/pkg/massexport/v1/massexport.pb.go +++ b/pkg/massexport/v1/massexport.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v7.34.1 +// protoc v7.35.1 // source: massexport/v1/massexport.proto package massexport diff --git a/pkg/massexport/v1/massexport_grpc.pb.go b/pkg/massexport/v1/massexport_grpc.pb.go index eaaea70..a78e188 100644 --- a/pkg/massexport/v1/massexport_grpc.pb.go +++ b/pkg/massexport/v1/massexport_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.4.0 -// - protoc v7.34.1 +// - protoc v7.35.1 // source: massexport/v1/massexport.proto package massexport diff --git a/pkg/seqapi/v1/seq_api.pb.go b/pkg/seqapi/v1/seq_api.pb.go index 2e5fa5b..5ddda61 100644 --- a/pkg/seqapi/v1/seq_api.pb.go +++ b/pkg/seqapi/v1/seq_api.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v7.34.1 +// protoc v7.35.1 // source: seqapi/v1/seq_api.proto package seqapi @@ -1531,6 +1531,85 @@ func (x *ExportRequest) GetDownsample() uint32 { return 0 } +type ExportAsyncSearchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SearchId string `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"` + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` + Format ExportFormat `protobuf:"varint,6,opt,name=format,proto3,enum=seqapi.v1.ExportFormat" json:"format,omitempty"` + Fields []string `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"` // TODO: ??? +} + +func (x *ExportAsyncSearchRequest) Reset() { + *x = ExportAsyncSearchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_seqapi_v1_seq_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExportAsyncSearchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportAsyncSearchRequest) ProtoMessage() {} + +func (x *ExportAsyncSearchRequest) ProtoReflect() protoreflect.Message { + mi := &file_seqapi_v1_seq_api_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 ExportAsyncSearchRequest.ProtoReflect.Descriptor instead. +func (*ExportAsyncSearchRequest) Descriptor() ([]byte, []int) { + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{17} +} + +func (x *ExportAsyncSearchRequest) GetSearchId() string { + if x != nil { + return x.SearchId + } + return "" +} + +func (x *ExportAsyncSearchRequest) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *ExportAsyncSearchRequest) GetOffset() int32 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *ExportAsyncSearchRequest) GetFormat() ExportFormat { + if x != nil { + return x.Format + } + return ExportFormat_EXPORT_FORMAT_JSONL +} + +func (x *ExportAsyncSearchRequest) GetFields() []string { + if x != nil { + return x.Fields + } + return nil +} + type GetLimitsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1540,7 +1619,7 @@ type GetLimitsRequest struct { func (x *GetLimitsRequest) Reset() { *x = GetLimitsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[17] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1553,7 +1632,7 @@ func (x *GetLimitsRequest) String() string { func (*GetLimitsRequest) ProtoMessage() {} func (x *GetLimitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[17] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1566,7 +1645,7 @@ func (x *GetLimitsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLimitsRequest.ProtoReflect.Descriptor instead. func (*GetLimitsRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{17} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{18} } type GetLimitsResponse struct { @@ -1584,7 +1663,7 @@ type GetLimitsResponse struct { func (x *GetLimitsResponse) Reset() { *x = GetLimitsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[18] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1597,7 +1676,7 @@ func (x *GetLimitsResponse) String() string { func (*GetLimitsResponse) ProtoMessage() {} func (x *GetLimitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[18] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1610,7 +1689,7 @@ func (x *GetLimitsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLimitsResponse.ProtoReflect.Descriptor instead. func (*GetLimitsResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{18} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{19} } func (x *GetLimitsResponse) GetMaxSearchLimit() int32 { @@ -1657,7 +1736,7 @@ type StatusRequest struct { func (x *StatusRequest) Reset() { *x = StatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[19] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1670,7 +1749,7 @@ func (x *StatusRequest) String() string { func (*StatusRequest) ProtoMessage() {} func (x *StatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[19] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1683,7 +1762,7 @@ func (x *StatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead. func (*StatusRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{19} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{20} } type StatusResponse struct { @@ -1699,7 +1778,7 @@ type StatusResponse struct { func (x *StatusResponse) Reset() { *x = StatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[20] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1712,7 +1791,7 @@ func (x *StatusResponse) String() string { func (*StatusResponse) ProtoMessage() {} func (x *StatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[20] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1725,7 +1804,7 @@ func (x *StatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead. func (*StatusResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{20} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{21} } func (x *StatusResponse) GetNumberOfStores() int32 { @@ -1762,7 +1841,7 @@ type StoreStatus struct { func (x *StoreStatus) Reset() { *x = StoreStatus{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[21] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1775,7 +1854,7 @@ func (x *StoreStatus) String() string { func (*StoreStatus) ProtoMessage() {} func (x *StoreStatus) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[21] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1788,7 +1867,7 @@ func (x *StoreStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use StoreStatus.ProtoReflect.Descriptor instead. func (*StoreStatus) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{21} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{22} } func (x *StoreStatus) GetHost() string { @@ -1823,7 +1902,7 @@ type StoreStatusValues struct { func (x *StoreStatusValues) Reset() { *x = StoreStatusValues{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[22] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1836,7 +1915,7 @@ func (x *StoreStatusValues) String() string { func (*StoreStatusValues) ProtoMessage() {} func (x *StoreStatusValues) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[22] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1849,7 +1928,7 @@ func (x *StoreStatusValues) ProtoReflect() protoreflect.Message { // Deprecated: Use StoreStatusValues.ProtoReflect.Descriptor instead. func (*StoreStatusValues) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{22} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{23} } func (x *StoreStatusValues) GetOldestTime() *timestamppb.Timestamp { @@ -1868,7 +1947,7 @@ type GetLogsLifespanRequest struct { func (x *GetLogsLifespanRequest) Reset() { *x = GetLogsLifespanRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[23] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1881,7 +1960,7 @@ func (x *GetLogsLifespanRequest) String() string { func (*GetLogsLifespanRequest) ProtoMessage() {} func (x *GetLogsLifespanRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[23] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1894,7 +1973,7 @@ func (x *GetLogsLifespanRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLogsLifespanRequest.ProtoReflect.Descriptor instead. func (*GetLogsLifespanRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{23} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{24} } type GetLogsLifespanResponse struct { @@ -1908,7 +1987,7 @@ type GetLogsLifespanResponse struct { func (x *GetLogsLifespanResponse) Reset() { *x = GetLogsLifespanResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[24] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1921,7 +2000,7 @@ func (x *GetLogsLifespanResponse) String() string { func (*GetLogsLifespanResponse) ProtoMessage() {} func (x *GetLogsLifespanResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[24] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1934,7 +2013,7 @@ func (x *GetLogsLifespanResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLogsLifespanResponse.ProtoReflect.Descriptor instead. func (*GetLogsLifespanResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{24} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{25} } func (x *GetLogsLifespanResponse) GetLifespan() *durationpb.Duration { @@ -1963,7 +2042,7 @@ type StartAsyncSearchRequest struct { func (x *StartAsyncSearchRequest) Reset() { *x = StartAsyncSearchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[25] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1976,7 +2055,7 @@ func (x *StartAsyncSearchRequest) String() string { func (*StartAsyncSearchRequest) ProtoMessage() {} func (x *StartAsyncSearchRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[25] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1989,7 +2068,7 @@ func (x *StartAsyncSearchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StartAsyncSearchRequest.ProtoReflect.Descriptor instead. func (*StartAsyncSearchRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{25} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{26} } func (x *StartAsyncSearchRequest) GetRetention() *durationpb.Duration { @@ -2066,7 +2145,7 @@ type StartAsyncSearchResponse struct { func (x *StartAsyncSearchResponse) Reset() { *x = StartAsyncSearchResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[26] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2079,7 +2158,7 @@ func (x *StartAsyncSearchResponse) String() string { func (*StartAsyncSearchResponse) ProtoMessage() {} func (x *StartAsyncSearchResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[26] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2092,7 +2171,7 @@ func (x *StartAsyncSearchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StartAsyncSearchResponse.ProtoReflect.Descriptor instead. func (*StartAsyncSearchResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{26} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{27} } func (x *StartAsyncSearchResponse) GetSearchId() string { @@ -2116,7 +2195,7 @@ type FetchAsyncSearchResultRequest struct { func (x *FetchAsyncSearchResultRequest) Reset() { *x = FetchAsyncSearchResultRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[27] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2129,7 +2208,7 @@ func (x *FetchAsyncSearchResultRequest) String() string { func (*FetchAsyncSearchResultRequest) ProtoMessage() {} func (x *FetchAsyncSearchResultRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[27] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2142,7 +2221,7 @@ func (x *FetchAsyncSearchResultRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FetchAsyncSearchResultRequest.ProtoReflect.Descriptor instead. func (*FetchAsyncSearchResultRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{27} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{28} } func (x *FetchAsyncSearchResultRequest) GetSearchId() string { @@ -2193,7 +2272,7 @@ type FetchAsyncSearchResultResponse struct { func (x *FetchAsyncSearchResultResponse) Reset() { *x = FetchAsyncSearchResultResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[28] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2206,7 +2285,7 @@ func (x *FetchAsyncSearchResultResponse) String() string { func (*FetchAsyncSearchResultResponse) ProtoMessage() {} func (x *FetchAsyncSearchResultResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[28] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2219,7 +2298,7 @@ func (x *FetchAsyncSearchResultResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FetchAsyncSearchResultResponse.ProtoReflect.Descriptor instead. func (*FetchAsyncSearchResultResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{28} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{29} } func (x *FetchAsyncSearchResultResponse) GetStatus() AsyncSearchStatus { @@ -2306,7 +2385,7 @@ type GetAsyncSearchesListRequest struct { func (x *GetAsyncSearchesListRequest) Reset() { *x = GetAsyncSearchesListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[29] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2319,7 +2398,7 @@ func (x *GetAsyncSearchesListRequest) String() string { func (*GetAsyncSearchesListRequest) ProtoMessage() {} func (x *GetAsyncSearchesListRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[29] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2332,7 +2411,7 @@ func (x *GetAsyncSearchesListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAsyncSearchesListRequest.ProtoReflect.Descriptor instead. func (*GetAsyncSearchesListRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{29} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{30} } func (x *GetAsyncSearchesListRequest) GetStatus() AsyncSearchStatus { @@ -2375,7 +2454,7 @@ type GetAsyncSearchesListResponse struct { func (x *GetAsyncSearchesListResponse) Reset() { *x = GetAsyncSearchesListResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[30] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2388,7 +2467,7 @@ func (x *GetAsyncSearchesListResponse) String() string { func (*GetAsyncSearchesListResponse) ProtoMessage() {} func (x *GetAsyncSearchesListResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[30] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2401,7 +2480,7 @@ func (x *GetAsyncSearchesListResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAsyncSearchesListResponse.ProtoReflect.Descriptor instead. func (*GetAsyncSearchesListResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{30} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{31} } func (x *GetAsyncSearchesListResponse) GetSearches() []*GetAsyncSearchesListResponse_ListItem { @@ -2429,7 +2508,7 @@ type CancelAsyncSearchRequest struct { func (x *CancelAsyncSearchRequest) Reset() { *x = CancelAsyncSearchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[31] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2442,7 +2521,7 @@ func (x *CancelAsyncSearchRequest) String() string { func (*CancelAsyncSearchRequest) ProtoMessage() {} func (x *CancelAsyncSearchRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[31] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2455,7 +2534,7 @@ func (x *CancelAsyncSearchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelAsyncSearchRequest.ProtoReflect.Descriptor instead. func (*CancelAsyncSearchRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{31} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{32} } func (x *CancelAsyncSearchRequest) GetSearchId() string { @@ -2474,7 +2553,7 @@ type CancelAsyncSearchResponse struct { func (x *CancelAsyncSearchResponse) Reset() { *x = CancelAsyncSearchResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[32] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2487,7 +2566,7 @@ func (x *CancelAsyncSearchResponse) String() string { func (*CancelAsyncSearchResponse) ProtoMessage() {} func (x *CancelAsyncSearchResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[32] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2500,7 +2579,7 @@ func (x *CancelAsyncSearchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelAsyncSearchResponse.ProtoReflect.Descriptor instead. func (*CancelAsyncSearchResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{32} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{33} } type DeleteAsyncSearchRequest struct { @@ -2514,7 +2593,7 @@ type DeleteAsyncSearchRequest struct { func (x *DeleteAsyncSearchRequest) Reset() { *x = DeleteAsyncSearchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[33] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2527,7 +2606,7 @@ func (x *DeleteAsyncSearchRequest) String() string { func (*DeleteAsyncSearchRequest) ProtoMessage() {} func (x *DeleteAsyncSearchRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[33] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2540,7 +2619,7 @@ func (x *DeleteAsyncSearchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteAsyncSearchRequest.ProtoReflect.Descriptor instead. func (*DeleteAsyncSearchRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{33} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{34} } func (x *DeleteAsyncSearchRequest) GetSearchId() string { @@ -2559,7 +2638,7 @@ type DeleteAsyncSearchResponse struct { func (x *DeleteAsyncSearchResponse) Reset() { *x = DeleteAsyncSearchResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[34] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2572,7 +2651,7 @@ func (x *DeleteAsyncSearchResponse) String() string { func (*DeleteAsyncSearchResponse) ProtoMessage() {} func (x *DeleteAsyncSearchResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[34] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2585,7 +2664,7 @@ func (x *DeleteAsyncSearchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteAsyncSearchResponse.ProtoReflect.Descriptor instead. func (*DeleteAsyncSearchResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{34} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{35} } type GetEnvsRequest struct { @@ -2597,7 +2676,7 @@ type GetEnvsRequest struct { func (x *GetEnvsRequest) Reset() { *x = GetEnvsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[35] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2610,7 +2689,7 @@ func (x *GetEnvsRequest) String() string { func (*GetEnvsRequest) ProtoMessage() {} func (x *GetEnvsRequest) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[35] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2623,7 +2702,7 @@ func (x *GetEnvsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetEnvsRequest.ProtoReflect.Descriptor instead. func (*GetEnvsRequest) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{35} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{36} } type GetEnvsResponse struct { @@ -2637,7 +2716,7 @@ type GetEnvsResponse struct { func (x *GetEnvsResponse) Reset() { *x = GetEnvsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[36] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2650,7 +2729,7 @@ func (x *GetEnvsResponse) String() string { func (*GetEnvsResponse) ProtoMessage() {} func (x *GetEnvsResponse) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[36] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2663,7 +2742,7 @@ func (x *GetEnvsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetEnvsResponse.ProtoReflect.Descriptor instead. func (*GetEnvsResponse) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{36} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{37} } func (x *GetEnvsResponse) GetEnvs() []*GetEnvsResponse_Env { @@ -2685,7 +2764,7 @@ type Histogram_Bucket struct { func (x *Histogram_Bucket) Reset() { *x = Histogram_Bucket{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[38] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2698,7 +2777,7 @@ func (x *Histogram_Bucket) String() string { func (*Histogram_Bucket) ProtoMessage() {} func (x *Histogram_Bucket) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[38] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2743,7 +2822,7 @@ type Aggregation_Bucket struct { func (x *Aggregation_Bucket) Reset() { *x = Aggregation_Bucket{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[39] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2756,7 +2835,7 @@ func (x *Aggregation_Bucket) String() string { func (*Aggregation_Bucket) ProtoMessage() {} func (x *Aggregation_Bucket) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[39] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2818,7 +2897,7 @@ type SearchRequest_Histogram struct { func (x *SearchRequest_Histogram) Reset() { *x = SearchRequest_Histogram{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[40] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2831,7 +2910,7 @@ func (x *SearchRequest_Histogram) String() string { func (*SearchRequest_Histogram) ProtoMessage() {} func (x *SearchRequest_Histogram) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[40] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2865,7 +2944,7 @@ type StartAsyncSearchRequest_HistQuery struct { func (x *StartAsyncSearchRequest_HistQuery) Reset() { *x = StartAsyncSearchRequest_HistQuery{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[41] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2878,7 +2957,7 @@ func (x *StartAsyncSearchRequest_HistQuery) String() string { func (*StartAsyncSearchRequest_HistQuery) ProtoMessage() {} func (x *StartAsyncSearchRequest_HistQuery) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[41] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2891,7 +2970,7 @@ func (x *StartAsyncSearchRequest_HistQuery) ProtoReflect() protoreflect.Message // Deprecated: Use StartAsyncSearchRequest_HistQuery.ProtoReflect.Descriptor instead. func (*StartAsyncSearchRequest_HistQuery) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{25, 0} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{26, 0} } func (x *StartAsyncSearchRequest_HistQuery) GetInterval() string { @@ -2921,7 +3000,7 @@ type GetAsyncSearchesListResponse_ListItem struct { func (x *GetAsyncSearchesListResponse_ListItem) Reset() { *x = GetAsyncSearchesListResponse_ListItem{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[42] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2934,7 +3013,7 @@ func (x *GetAsyncSearchesListResponse_ListItem) String() string { func (*GetAsyncSearchesListResponse_ListItem) ProtoMessage() {} func (x *GetAsyncSearchesListResponse_ListItem) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[42] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2947,7 +3026,7 @@ func (x *GetAsyncSearchesListResponse_ListItem) ProtoReflect() protoreflect.Mess // Deprecated: Use GetAsyncSearchesListResponse_ListItem.ProtoReflect.Descriptor instead. func (*GetAsyncSearchesListResponse_ListItem) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{30, 0} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{31, 0} } func (x *GetAsyncSearchesListResponse_ListItem) GetSearchId() string { @@ -3036,7 +3115,7 @@ type GetEnvsResponse_Env struct { func (x *GetEnvsResponse_Env) Reset() { *x = GetEnvsResponse_Env{} if protoimpl.UnsafeEnabled { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[43] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3049,7 +3128,7 @@ func (x *GetEnvsResponse_Env) String() string { func (*GetEnvsResponse_Env) ProtoMessage() {} func (x *GetEnvsResponse_Env) ProtoReflect() protoreflect.Message { - mi := &file_seqapi_v1_seq_api_proto_msgTypes[43] + mi := &file_seqapi_v1_seq_api_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3062,7 +3141,7 @@ func (x *GetEnvsResponse_Env) ProtoReflect() protoreflect.Message { // Deprecated: Use GetEnvsResponse_Env.ProtoReflect.Descriptor instead. func (*GetEnvsResponse_Env) Descriptor() ([]byte, []int) { - return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{36, 0} + return file_seqapi_v1_seq_api_proto_rawDescGZIP(), []int{37, 0} } func (x *GetEnvsResponse_Env) GetEnv() string { @@ -3325,347 +3404,358 @@ var file_seqapi_v1_seq_api_proto_rawDesc = []byte{ 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x47, - 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0xa1, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0e, 0x6d, 0x61, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x45, 0x78, - 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x61, 0x78, - 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x19, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x61, - 0x78, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, - 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x19, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x18, 0x73, - 0x65, 0x71, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x73, - 0x65, 0x71, 0x43, 0x6c, 0x69, 0x4d, 0x61, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x53, 0x74, 0x6f, 0x72, 0x65, - 0x73, 0x12, 0x4f, 0x0a, 0x13, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 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, 0x48, 0x00, 0x52, 0x11, 0x6f, 0x6c, - 0x64, 0x65, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x74, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x6f, 0x72, - 0x65, 0x73, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x53, - 0x74, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, - 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x39, - 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x48, 0x00, 0x52, 0x06, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x50, 0x0a, 0x11, 0x53, 0x74, 0x6f, - 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, - 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 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, - 0x0a, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x47, - 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 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, 0x6c, - 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x22, 0xb3, 0x03, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 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, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x04, 0x66, 0x72, - 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x6f, 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, 0x02, 0x74, 0x6f, 0x12, 0x2f, - 0x0a, 0x04, 0x61, 0x67, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, - 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x04, 0x61, 0x67, 0x67, 0x73, 0x12, - 0x45, 0x0a, 0x04, 0x68, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, - 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, - 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, 0x68, - 0x69, 0x73, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x64, - 0x6f, 0x63, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x69, 0x74, 0x68, 0x44, - 0x6f, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x27, 0x0a, 0x09, 0x48, - 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x76, 0x61, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x22, 0x37, 0x0a, - 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x1d, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, + 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x18, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, + 0x72, 0x63, 0x68, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, - 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x8a, 0x04, 0x0a, 0x1e, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, - 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, - 0x72, 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, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 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, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, - 0x40, 0x0a, 0x0b, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, + 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x12, 0x0a, 0x10, + 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0xa1, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x45, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x61, + 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, + 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x19, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x45, 0x78, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, + 0x61, 0x78, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, + 0x70, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x18, + 0x73, 0x65, 0x71, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, + 0x73, 0x65, 0x71, 0x43, 0x6c, 0x69, 0x4d, 0x61, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x53, 0x74, 0x6f, 0x72, + 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x13, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 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, 0x48, 0x00, 0x52, 0x11, 0x6f, + 0x6c, 0x64, 0x65, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x6f, + 0x72, 0x65, 0x73, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, + 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, + 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, + 0x39, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x48, 0x00, 0x52, + 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x50, 0x0a, 0x11, 0x53, 0x74, + 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, + 0x3b, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 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, - 0x48, 0x00, 0x52, 0x0a, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, - 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6d, 0x65, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, - 0x12, 0x26, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x10, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x22, 0xc4, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, - 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0xf9, 0x04, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x12, 0x26, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xe2, 0x03, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x49, - 0x74, 0x65, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, - 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, - 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 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, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 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, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x52, 0x0a, 0x6f, 0x6c, 0x64, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, + 0x73, 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 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, + 0x6c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x22, 0xb3, 0x03, 0x0a, 0x17, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 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, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x6f, 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, 0x48, 0x00, 0x52, 0x0a, 0x63, - 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, - 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x6b, - 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x64, 0x69, - 0x73, 0x6b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, - 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x37, 0x0a, 0x18, 0x43, - 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, - 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x37, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x6e, - 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xed, 0x02, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, - 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x65, - 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x76, 0x52, 0x04, 0x65, 0x6e, 0x76, - 0x73, 0x1a, 0xa5, 0x02, 0x0a, 0x03, 0x45, 0x6e, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x28, 0x0a, 0x10, 0x6d, - 0x61, 0x78, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x70, - 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0e, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x3f, 0x0a, 0x1c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x5f, - 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, - 0x65, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x36, 0x0a, 0x18, 0x73, 0x65, 0x71, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x6d, 0x61, 0x78, - 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x14, 0x73, 0x65, 0x71, 0x43, 0x6c, 0x69, 0x4d, 0x61, 0x78, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x2a, 0xa2, 0x01, 0x0a, 0x09, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, - 0x45, 0x5f, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x52, 0x45, 0x53, - 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, - 0x48, 0x45, 0x41, 0x56, 0x59, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x46, - 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x48, 0x49, 0x54, 0x10, 0x04, 0x2a, 0x26, - 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, 0x44, 0x45, 0x52, - 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x52, 0x44, 0x45, 0x52, - 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x2a, 0x91, 0x01, 0x0a, 0x07, 0x41, 0x67, 0x67, 0x46, 0x75, - 0x6e, 0x63, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x43, - 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, - 0x4e, 0x43, 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, - 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, - 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, - 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x15, - 0x0a, 0x11, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x51, 0x55, 0x41, 0x4e, 0x54, - 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, - 0x43, 0x5f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x10, 0x06, 0x2a, 0x2f, 0x0a, 0x09, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, - 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x10, - 0x01, 0x12, 0x08, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x10, 0x02, 0x2a, 0x3e, 0x0a, 0x0c, 0x45, - 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x17, 0x0a, 0x13, 0x45, - 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x4a, 0x53, 0x4f, - 0x4e, 0x4c, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, - 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x43, 0x53, 0x56, 0x10, 0x01, 0x2a, 0xbc, 0x01, 0x0a, 0x11, - 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, - 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x53, 0x59, 0x4e, 0x43, 0x5f, - 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, - 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x41, - 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x53, 0x59, - 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, - 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x41, - 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x32, 0x87, 0x0a, 0x0a, 0x0d, 0x53, - 0x65, 0x71, 0x41, 0x50, 0x49, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x06, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x18, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x19, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, - 0x08, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x73, 0x65, 0x71, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x67, 0x72, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x73, 0x65, 0x71, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x73, 0x65, - 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x48, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1b, 0x2e, - 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, 0x71, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x50, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1b, 0x2e, - 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, 0x71, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x47, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, - 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x21, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x4c, 0x69, 0x66, 0x65, - 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73, 0x65, - 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x4c, - 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x22, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x6f, 0x0a, 0x16, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x71, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, - 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x69, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x2e, 0x73, 0x65, 0x71, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x6f, 0x12, + 0x2f, 0x0a, 0x04, 0x61, 0x67, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x04, 0x61, 0x67, 0x67, 0x73, + 0x12, 0x45, 0x0a, 0x04, 0x68, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, + 0x68, 0x69, 0x73, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x68, 0x5f, + 0x64, 0x6f, 0x63, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x69, 0x74, 0x68, + 0x44, 0x6f, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x27, 0x0a, 0x09, + 0x48, 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x22, 0x37, + 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x1d, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x8a, 0x04, 0x0a, + 0x1e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, + 0x61, 0x72, 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, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, + 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, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, + 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 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, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x88, + 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x74, + 0x61, 0x12, 0x26, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x22, 0xc4, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0xf9, 0x04, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x12, + 0x26, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, + 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xe2, 0x03, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, + 0x64, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 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, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 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, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x63, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 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, 0x48, 0x00, 0x52, 0x0a, + 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x73, + 0x6b, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x64, + 0x69, 0x73, 0x6b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, + 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x37, 0x0a, 0x18, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x12, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, - 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x12, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x12, 0x19, 0x2e, 0x73, 0x65, - 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6f, 0x7a, 0x6f, 0x6e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x73, 0x65, 0x71, 0x2d, - 0x75, 0x69, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x3b, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, + 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, + 0x6e, 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xed, 0x02, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, + 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, + 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x76, 0x52, 0x04, 0x65, 0x6e, + 0x76, 0x73, 0x1a, 0xa5, 0x02, 0x0a, 0x03, 0x45, 0x6e, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, + 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x28, 0x0a, 0x10, + 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, + 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x6c, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x36, 0x0a, 0x18, 0x73, 0x65, 0x71, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x6d, 0x61, + 0x78, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x73, 0x65, 0x71, 0x43, 0x6c, 0x69, 0x4d, 0x61, 0x78, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x2a, 0xa2, 0x01, 0x0a, 0x09, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x52, 0x45, + 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x54, 0x4f, 0x4f, + 0x5f, 0x48, 0x45, 0x41, 0x56, 0x59, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, + 0x46, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x48, 0x49, 0x54, 0x10, 0x04, 0x2a, + 0x26, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, 0x44, 0x45, + 0x52, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x52, 0x44, 0x45, + 0x52, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x2a, 0x91, 0x01, 0x0a, 0x07, 0x41, 0x67, 0x67, 0x46, + 0x75, 0x6e, 0x63, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, + 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, + 0x55, 0x4e, 0x43, 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, + 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x41, + 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x03, 0x12, 0x10, 0x0a, + 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, + 0x15, 0x0a, 0x11, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x5f, 0x51, 0x55, 0x41, 0x4e, + 0x54, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x5f, 0x46, 0x55, + 0x4e, 0x43, 0x5f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x10, 0x06, 0x2a, 0x2f, 0x0a, 0x09, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, + 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x10, 0x02, 0x2a, 0x3e, 0x0a, 0x0c, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x17, 0x0a, 0x13, + 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x4a, 0x53, + 0x4f, 0x4e, 0x4c, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x43, 0x53, 0x56, 0x10, 0x01, 0x2a, 0xbc, 0x01, 0x0a, + 0x11, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, + 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x53, 0x59, 0x4e, 0x43, + 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, + 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, + 0x41, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x53, + 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, + 0x41, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x32, 0x87, 0x0a, 0x0a, 0x0d, + 0x53, 0x65, 0x71, 0x41, 0x50, 0x49, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3f, 0x0a, + 0x06, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x18, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x19, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, + 0x0a, 0x08, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x73, 0x65, 0x71, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x73, 0x65, 0x71, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x73, + 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x48, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1b, + 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, + 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x50, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1b, + 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, + 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x47, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x18, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x73, 0x65, 0x71, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, + 0x73, 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x21, 0x2e, 0x73, 0x65, 0x71, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x4c, 0x69, 0x66, + 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73, + 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, + 0x4c, 0x69, 0x66, 0x65, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x22, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x65, 0x71, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6f, 0x0a, 0x16, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x2e, 0x73, 0x65, + 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, + 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x69, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x2e, 0x73, 0x65, 0x71, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, + 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x12, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x60, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x12, 0x23, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x71, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x12, 0x19, 0x2e, 0x73, + 0x65, 0x71, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x7a, 0x6f, 0x6e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x73, 0x65, 0x71, + 0x2d, 0x75, 0x69, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x3b, 0x73, 0x65, 0x71, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3681,7 +3771,7 @@ func file_seqapi_v1_seq_api_proto_rawDescGZIP() []byte { } var file_seqapi_v1_seq_api_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_seqapi_v1_seq_api_proto_msgTypes = make([]protoimpl.MessageInfo, 44) +var file_seqapi_v1_seq_api_proto_msgTypes = make([]protoimpl.MessageInfo, 45) var file_seqapi_v1_seq_api_proto_goTypes = []any{ (ErrorCode)(0), // 0: seqapi.v1.ErrorCode (Order)(0), // 1: seqapi.v1.Order @@ -3706,46 +3796,47 @@ var file_seqapi_v1_seq_api_proto_goTypes = []any{ (*GetFieldsRequest)(nil), // 20: seqapi.v1.GetFieldsRequest (*GetFieldsResponse)(nil), // 21: seqapi.v1.GetFieldsResponse (*ExportRequest)(nil), // 22: seqapi.v1.ExportRequest - (*GetLimitsRequest)(nil), // 23: seqapi.v1.GetLimitsRequest - (*GetLimitsResponse)(nil), // 24: seqapi.v1.GetLimitsResponse - (*StatusRequest)(nil), // 25: seqapi.v1.StatusRequest - (*StatusResponse)(nil), // 26: seqapi.v1.StatusResponse - (*StoreStatus)(nil), // 27: seqapi.v1.StoreStatus - (*StoreStatusValues)(nil), // 28: seqapi.v1.StoreStatusValues - (*GetLogsLifespanRequest)(nil), // 29: seqapi.v1.GetLogsLifespanRequest - (*GetLogsLifespanResponse)(nil), // 30: seqapi.v1.GetLogsLifespanResponse - (*StartAsyncSearchRequest)(nil), // 31: seqapi.v1.StartAsyncSearchRequest - (*StartAsyncSearchResponse)(nil), // 32: seqapi.v1.StartAsyncSearchResponse - (*FetchAsyncSearchResultRequest)(nil), // 33: seqapi.v1.FetchAsyncSearchResultRequest - (*FetchAsyncSearchResultResponse)(nil), // 34: seqapi.v1.FetchAsyncSearchResultResponse - (*GetAsyncSearchesListRequest)(nil), // 35: seqapi.v1.GetAsyncSearchesListRequest - (*GetAsyncSearchesListResponse)(nil), // 36: seqapi.v1.GetAsyncSearchesListResponse - (*CancelAsyncSearchRequest)(nil), // 37: seqapi.v1.CancelAsyncSearchRequest - (*CancelAsyncSearchResponse)(nil), // 38: seqapi.v1.CancelAsyncSearchResponse - (*DeleteAsyncSearchRequest)(nil), // 39: seqapi.v1.DeleteAsyncSearchRequest - (*DeleteAsyncSearchResponse)(nil), // 40: seqapi.v1.DeleteAsyncSearchResponse - (*GetEnvsRequest)(nil), // 41: seqapi.v1.GetEnvsRequest - (*GetEnvsResponse)(nil), // 42: seqapi.v1.GetEnvsResponse - nil, // 43: seqapi.v1.Event.DataEntry - (*Histogram_Bucket)(nil), // 44: seqapi.v1.Histogram.Bucket - (*Aggregation_Bucket)(nil), // 45: seqapi.v1.Aggregation.Bucket - (*SearchRequest_Histogram)(nil), // 46: seqapi.v1.SearchRequest.Histogram - (*StartAsyncSearchRequest_HistQuery)(nil), // 47: seqapi.v1.StartAsyncSearchRequest.HistQuery - (*GetAsyncSearchesListResponse_ListItem)(nil), // 48: seqapi.v1.GetAsyncSearchesListResponse.ListItem - (*GetEnvsResponse_Env)(nil), // 49: seqapi.v1.GetEnvsResponse.Env - (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 51: google.protobuf.Duration + (*ExportAsyncSearchRequest)(nil), // 23: seqapi.v1.ExportAsyncSearchRequest + (*GetLimitsRequest)(nil), // 24: seqapi.v1.GetLimitsRequest + (*GetLimitsResponse)(nil), // 25: seqapi.v1.GetLimitsResponse + (*StatusRequest)(nil), // 26: seqapi.v1.StatusRequest + (*StatusResponse)(nil), // 27: seqapi.v1.StatusResponse + (*StoreStatus)(nil), // 28: seqapi.v1.StoreStatus + (*StoreStatusValues)(nil), // 29: seqapi.v1.StoreStatusValues + (*GetLogsLifespanRequest)(nil), // 30: seqapi.v1.GetLogsLifespanRequest + (*GetLogsLifespanResponse)(nil), // 31: seqapi.v1.GetLogsLifespanResponse + (*StartAsyncSearchRequest)(nil), // 32: seqapi.v1.StartAsyncSearchRequest + (*StartAsyncSearchResponse)(nil), // 33: seqapi.v1.StartAsyncSearchResponse + (*FetchAsyncSearchResultRequest)(nil), // 34: seqapi.v1.FetchAsyncSearchResultRequest + (*FetchAsyncSearchResultResponse)(nil), // 35: seqapi.v1.FetchAsyncSearchResultResponse + (*GetAsyncSearchesListRequest)(nil), // 36: seqapi.v1.GetAsyncSearchesListRequest + (*GetAsyncSearchesListResponse)(nil), // 37: seqapi.v1.GetAsyncSearchesListResponse + (*CancelAsyncSearchRequest)(nil), // 38: seqapi.v1.CancelAsyncSearchRequest + (*CancelAsyncSearchResponse)(nil), // 39: seqapi.v1.CancelAsyncSearchResponse + (*DeleteAsyncSearchRequest)(nil), // 40: seqapi.v1.DeleteAsyncSearchRequest + (*DeleteAsyncSearchResponse)(nil), // 41: seqapi.v1.DeleteAsyncSearchResponse + (*GetEnvsRequest)(nil), // 42: seqapi.v1.GetEnvsRequest + (*GetEnvsResponse)(nil), // 43: seqapi.v1.GetEnvsResponse + nil, // 44: seqapi.v1.Event.DataEntry + (*Histogram_Bucket)(nil), // 45: seqapi.v1.Histogram.Bucket + (*Aggregation_Bucket)(nil), // 46: seqapi.v1.Aggregation.Bucket + (*SearchRequest_Histogram)(nil), // 47: seqapi.v1.SearchRequest.Histogram + (*StartAsyncSearchRequest_HistQuery)(nil), // 48: seqapi.v1.StartAsyncSearchRequest.HistQuery + (*GetAsyncSearchesListResponse_ListItem)(nil), // 49: seqapi.v1.GetAsyncSearchesListResponse.ListItem + (*GetEnvsResponse_Env)(nil), // 50: seqapi.v1.GetEnvsResponse.Env + (*timestamppb.Timestamp)(nil), // 51: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 52: google.protobuf.Duration } var file_seqapi_v1_seq_api_proto_depIdxs = []int32{ 0, // 0: seqapi.v1.Error.code:type_name -> seqapi.v1.ErrorCode - 50, // 1: seqapi.v1.Event.time:type_name -> google.protobuf.Timestamp - 43, // 2: seqapi.v1.Event.data:type_name -> seqapi.v1.Event.DataEntry - 44, // 3: seqapi.v1.Histogram.buckets:type_name -> seqapi.v1.Histogram.Bucket - 45, // 4: seqapi.v1.Aggregation.buckets:type_name -> seqapi.v1.Aggregation.Bucket + 51, // 1: seqapi.v1.Event.time:type_name -> google.protobuf.Timestamp + 44, // 2: seqapi.v1.Event.data:type_name -> seqapi.v1.Event.DataEntry + 45, // 3: seqapi.v1.Histogram.buckets:type_name -> seqapi.v1.Histogram.Bucket + 46, // 4: seqapi.v1.Aggregation.buckets:type_name -> seqapi.v1.Aggregation.Bucket 2, // 5: seqapi.v1.AggregationQuery.func:type_name -> seqapi.v1.AggFunc - 50, // 6: seqapi.v1.SearchRequest.from:type_name -> google.protobuf.Timestamp - 50, // 7: seqapi.v1.SearchRequest.to:type_name -> google.protobuf.Timestamp - 46, // 8: seqapi.v1.SearchRequest.histogram:type_name -> seqapi.v1.SearchRequest.Histogram + 51, // 6: seqapi.v1.SearchRequest.from:type_name -> google.protobuf.Timestamp + 51, // 7: seqapi.v1.SearchRequest.to:type_name -> google.protobuf.Timestamp + 47, // 8: seqapi.v1.SearchRequest.histogram:type_name -> seqapi.v1.SearchRequest.Histogram 10, // 9: seqapi.v1.SearchRequest.aggregations:type_name -> seqapi.v1.AggregationQuery 1, // 10: seqapi.v1.SearchRequest.order:type_name -> seqapi.v1.Order 7, // 11: seqapi.v1.SearchResponse.events:type_name -> seqapi.v1.Event @@ -3753,12 +3844,12 @@ var file_seqapi_v1_seq_api_proto_depIdxs = []int32{ 9, // 13: seqapi.v1.SearchResponse.aggregations:type_name -> seqapi.v1.Aggregation 6, // 14: seqapi.v1.SearchResponse.error:type_name -> seqapi.v1.Error 7, // 15: seqapi.v1.GetEventResponse.event:type_name -> seqapi.v1.Event - 50, // 16: seqapi.v1.GetHistogramRequest.from:type_name -> google.protobuf.Timestamp - 50, // 17: seqapi.v1.GetHistogramRequest.to:type_name -> google.protobuf.Timestamp + 51, // 16: seqapi.v1.GetHistogramRequest.from:type_name -> google.protobuf.Timestamp + 51, // 17: seqapi.v1.GetHistogramRequest.to:type_name -> google.protobuf.Timestamp 8, // 18: seqapi.v1.GetHistogramResponse.histogram:type_name -> seqapi.v1.Histogram 6, // 19: seqapi.v1.GetHistogramResponse.error:type_name -> seqapi.v1.Error - 50, // 20: seqapi.v1.GetAggregationRequest.from:type_name -> google.protobuf.Timestamp - 50, // 21: seqapi.v1.GetAggregationRequest.to:type_name -> google.protobuf.Timestamp + 51, // 20: seqapi.v1.GetAggregationRequest.from:type_name -> google.protobuf.Timestamp + 51, // 21: seqapi.v1.GetAggregationRequest.to:type_name -> google.protobuf.Timestamp 10, // 22: seqapi.v1.GetAggregationRequest.aggregations:type_name -> seqapi.v1.AggregationQuery 9, // 23: seqapi.v1.GetAggregationResponse.aggregation:type_name -> seqapi.v1.Aggregation 9, // 24: seqapi.v1.GetAggregationResponse.aggregations:type_name -> seqapi.v1.Aggregation @@ -3767,72 +3858,73 @@ var file_seqapi_v1_seq_api_proto_depIdxs = []int32{ 19, // 27: seqapi.v1.GetFieldsResponse.fields:type_name -> seqapi.v1.Field 19, // 28: seqapi.v1.GetFieldsResponse.system_fields:type_name -> seqapi.v1.Field 19, // 29: seqapi.v1.GetFieldsResponse.pinned_fields:type_name -> seqapi.v1.Field - 50, // 30: seqapi.v1.ExportRequest.from:type_name -> google.protobuf.Timestamp - 50, // 31: seqapi.v1.ExportRequest.to:type_name -> google.protobuf.Timestamp + 51, // 30: seqapi.v1.ExportRequest.from:type_name -> google.protobuf.Timestamp + 51, // 31: seqapi.v1.ExportRequest.to:type_name -> google.protobuf.Timestamp 4, // 32: seqapi.v1.ExportRequest.format:type_name -> seqapi.v1.ExportFormat - 50, // 33: seqapi.v1.StatusResponse.oldest_storage_time:type_name -> google.protobuf.Timestamp - 27, // 34: seqapi.v1.StatusResponse.stores:type_name -> seqapi.v1.StoreStatus - 28, // 35: seqapi.v1.StoreStatus.values:type_name -> seqapi.v1.StoreStatusValues - 50, // 36: seqapi.v1.StoreStatusValues.oldest_time:type_name -> google.protobuf.Timestamp - 51, // 37: seqapi.v1.GetLogsLifespanResponse.lifespan:type_name -> google.protobuf.Duration - 51, // 38: seqapi.v1.StartAsyncSearchRequest.retention:type_name -> google.protobuf.Duration - 50, // 39: seqapi.v1.StartAsyncSearchRequest.from:type_name -> google.protobuf.Timestamp - 50, // 40: seqapi.v1.StartAsyncSearchRequest.to:type_name -> google.protobuf.Timestamp - 10, // 41: seqapi.v1.StartAsyncSearchRequest.aggs:type_name -> seqapi.v1.AggregationQuery - 47, // 42: seqapi.v1.StartAsyncSearchRequest.hist:type_name -> seqapi.v1.StartAsyncSearchRequest.HistQuery - 1, // 43: seqapi.v1.FetchAsyncSearchResultRequest.order:type_name -> seqapi.v1.Order - 5, // 44: seqapi.v1.FetchAsyncSearchResultResponse.status:type_name -> seqapi.v1.AsyncSearchStatus - 31, // 45: seqapi.v1.FetchAsyncSearchResultResponse.request:type_name -> seqapi.v1.StartAsyncSearchRequest - 12, // 46: seqapi.v1.FetchAsyncSearchResultResponse.response:type_name -> seqapi.v1.SearchResponse - 50, // 47: seqapi.v1.FetchAsyncSearchResultResponse.started_at:type_name -> google.protobuf.Timestamp - 50, // 48: seqapi.v1.FetchAsyncSearchResultResponse.expires_at:type_name -> google.protobuf.Timestamp - 50, // 49: seqapi.v1.FetchAsyncSearchResultResponse.canceled_at:type_name -> google.protobuf.Timestamp - 6, // 50: seqapi.v1.FetchAsyncSearchResultResponse.error:type_name -> seqapi.v1.Error - 5, // 51: seqapi.v1.GetAsyncSearchesListRequest.status:type_name -> seqapi.v1.AsyncSearchStatus - 48, // 52: seqapi.v1.GetAsyncSearchesListResponse.searches:type_name -> seqapi.v1.GetAsyncSearchesListResponse.ListItem - 6, // 53: seqapi.v1.GetAsyncSearchesListResponse.error:type_name -> seqapi.v1.Error - 49, // 54: seqapi.v1.GetEnvsResponse.envs:type_name -> seqapi.v1.GetEnvsResponse.Env - 50, // 55: seqapi.v1.Aggregation.Bucket.ts:type_name -> google.protobuf.Timestamp - 5, // 56: seqapi.v1.GetAsyncSearchesListResponse.ListItem.status:type_name -> seqapi.v1.AsyncSearchStatus - 31, // 57: seqapi.v1.GetAsyncSearchesListResponse.ListItem.request:type_name -> seqapi.v1.StartAsyncSearchRequest - 50, // 58: seqapi.v1.GetAsyncSearchesListResponse.ListItem.started_at:type_name -> google.protobuf.Timestamp - 50, // 59: seqapi.v1.GetAsyncSearchesListResponse.ListItem.expires_at:type_name -> google.protobuf.Timestamp - 50, // 60: seqapi.v1.GetAsyncSearchesListResponse.ListItem.canceled_at:type_name -> google.protobuf.Timestamp - 11, // 61: seqapi.v1.SeqAPIService.Search:input_type -> seqapi.v1.SearchRequest - 13, // 62: seqapi.v1.SeqAPIService.GetEvent:input_type -> seqapi.v1.GetEventRequest - 15, // 63: seqapi.v1.SeqAPIService.GetHistogram:input_type -> seqapi.v1.GetHistogramRequest - 17, // 64: seqapi.v1.SeqAPIService.GetAggregation:input_type -> seqapi.v1.GetAggregationRequest - 20, // 65: seqapi.v1.SeqAPIService.GetFields:input_type -> seqapi.v1.GetFieldsRequest - 20, // 66: seqapi.v1.SeqAPIService.GetPinnedFields:input_type -> seqapi.v1.GetFieldsRequest - 23, // 67: seqapi.v1.SeqAPIService.GetLimits:input_type -> seqapi.v1.GetLimitsRequest - 25, // 68: seqapi.v1.SeqAPIService.Status:input_type -> seqapi.v1.StatusRequest - 29, // 69: seqapi.v1.SeqAPIService.GetLogsLifespan:input_type -> seqapi.v1.GetLogsLifespanRequest - 31, // 70: seqapi.v1.SeqAPIService.StartAsyncSearch:input_type -> seqapi.v1.StartAsyncSearchRequest - 33, // 71: seqapi.v1.SeqAPIService.FetchAsyncSearchResult:input_type -> seqapi.v1.FetchAsyncSearchResultRequest - 35, // 72: seqapi.v1.SeqAPIService.GetAsyncSearchesList:input_type -> seqapi.v1.GetAsyncSearchesListRequest - 37, // 73: seqapi.v1.SeqAPIService.CancelAsyncSearch:input_type -> seqapi.v1.CancelAsyncSearchRequest - 39, // 74: seqapi.v1.SeqAPIService.DeleteAsyncSearch:input_type -> seqapi.v1.DeleteAsyncSearchRequest - 41, // 75: seqapi.v1.SeqAPIService.GetEnvs:input_type -> seqapi.v1.GetEnvsRequest - 12, // 76: seqapi.v1.SeqAPIService.Search:output_type -> seqapi.v1.SearchResponse - 14, // 77: seqapi.v1.SeqAPIService.GetEvent:output_type -> seqapi.v1.GetEventResponse - 16, // 78: seqapi.v1.SeqAPIService.GetHistogram:output_type -> seqapi.v1.GetHistogramResponse - 18, // 79: seqapi.v1.SeqAPIService.GetAggregation:output_type -> seqapi.v1.GetAggregationResponse - 21, // 80: seqapi.v1.SeqAPIService.GetFields:output_type -> seqapi.v1.GetFieldsResponse - 21, // 81: seqapi.v1.SeqAPIService.GetPinnedFields:output_type -> seqapi.v1.GetFieldsResponse - 24, // 82: seqapi.v1.SeqAPIService.GetLimits:output_type -> seqapi.v1.GetLimitsResponse - 26, // 83: seqapi.v1.SeqAPIService.Status:output_type -> seqapi.v1.StatusResponse - 30, // 84: seqapi.v1.SeqAPIService.GetLogsLifespan:output_type -> seqapi.v1.GetLogsLifespanResponse - 32, // 85: seqapi.v1.SeqAPIService.StartAsyncSearch:output_type -> seqapi.v1.StartAsyncSearchResponse - 34, // 86: seqapi.v1.SeqAPIService.FetchAsyncSearchResult:output_type -> seqapi.v1.FetchAsyncSearchResultResponse - 36, // 87: seqapi.v1.SeqAPIService.GetAsyncSearchesList:output_type -> seqapi.v1.GetAsyncSearchesListResponse - 38, // 88: seqapi.v1.SeqAPIService.CancelAsyncSearch:output_type -> seqapi.v1.CancelAsyncSearchResponse - 40, // 89: seqapi.v1.SeqAPIService.DeleteAsyncSearch:output_type -> seqapi.v1.DeleteAsyncSearchResponse - 42, // 90: seqapi.v1.SeqAPIService.GetEnvs:output_type -> seqapi.v1.GetEnvsResponse - 76, // [76:91] is the sub-list for method output_type - 61, // [61:76] is the sub-list for method input_type - 61, // [61:61] is the sub-list for extension type_name - 61, // [61:61] is the sub-list for extension extendee - 0, // [0:61] is the sub-list for field type_name + 4, // 33: seqapi.v1.ExportAsyncSearchRequest.format:type_name -> seqapi.v1.ExportFormat + 51, // 34: seqapi.v1.StatusResponse.oldest_storage_time:type_name -> google.protobuf.Timestamp + 28, // 35: seqapi.v1.StatusResponse.stores:type_name -> seqapi.v1.StoreStatus + 29, // 36: seqapi.v1.StoreStatus.values:type_name -> seqapi.v1.StoreStatusValues + 51, // 37: seqapi.v1.StoreStatusValues.oldest_time:type_name -> google.protobuf.Timestamp + 52, // 38: seqapi.v1.GetLogsLifespanResponse.lifespan:type_name -> google.protobuf.Duration + 52, // 39: seqapi.v1.StartAsyncSearchRequest.retention:type_name -> google.protobuf.Duration + 51, // 40: seqapi.v1.StartAsyncSearchRequest.from:type_name -> google.protobuf.Timestamp + 51, // 41: seqapi.v1.StartAsyncSearchRequest.to:type_name -> google.protobuf.Timestamp + 10, // 42: seqapi.v1.StartAsyncSearchRequest.aggs:type_name -> seqapi.v1.AggregationQuery + 48, // 43: seqapi.v1.StartAsyncSearchRequest.hist:type_name -> seqapi.v1.StartAsyncSearchRequest.HistQuery + 1, // 44: seqapi.v1.FetchAsyncSearchResultRequest.order:type_name -> seqapi.v1.Order + 5, // 45: seqapi.v1.FetchAsyncSearchResultResponse.status:type_name -> seqapi.v1.AsyncSearchStatus + 32, // 46: seqapi.v1.FetchAsyncSearchResultResponse.request:type_name -> seqapi.v1.StartAsyncSearchRequest + 12, // 47: seqapi.v1.FetchAsyncSearchResultResponse.response:type_name -> seqapi.v1.SearchResponse + 51, // 48: seqapi.v1.FetchAsyncSearchResultResponse.started_at:type_name -> google.protobuf.Timestamp + 51, // 49: seqapi.v1.FetchAsyncSearchResultResponse.expires_at:type_name -> google.protobuf.Timestamp + 51, // 50: seqapi.v1.FetchAsyncSearchResultResponse.canceled_at:type_name -> google.protobuf.Timestamp + 6, // 51: seqapi.v1.FetchAsyncSearchResultResponse.error:type_name -> seqapi.v1.Error + 5, // 52: seqapi.v1.GetAsyncSearchesListRequest.status:type_name -> seqapi.v1.AsyncSearchStatus + 49, // 53: seqapi.v1.GetAsyncSearchesListResponse.searches:type_name -> seqapi.v1.GetAsyncSearchesListResponse.ListItem + 6, // 54: seqapi.v1.GetAsyncSearchesListResponse.error:type_name -> seqapi.v1.Error + 50, // 55: seqapi.v1.GetEnvsResponse.envs:type_name -> seqapi.v1.GetEnvsResponse.Env + 51, // 56: seqapi.v1.Aggregation.Bucket.ts:type_name -> google.protobuf.Timestamp + 5, // 57: seqapi.v1.GetAsyncSearchesListResponse.ListItem.status:type_name -> seqapi.v1.AsyncSearchStatus + 32, // 58: seqapi.v1.GetAsyncSearchesListResponse.ListItem.request:type_name -> seqapi.v1.StartAsyncSearchRequest + 51, // 59: seqapi.v1.GetAsyncSearchesListResponse.ListItem.started_at:type_name -> google.protobuf.Timestamp + 51, // 60: seqapi.v1.GetAsyncSearchesListResponse.ListItem.expires_at:type_name -> google.protobuf.Timestamp + 51, // 61: seqapi.v1.GetAsyncSearchesListResponse.ListItem.canceled_at:type_name -> google.protobuf.Timestamp + 11, // 62: seqapi.v1.SeqAPIService.Search:input_type -> seqapi.v1.SearchRequest + 13, // 63: seqapi.v1.SeqAPIService.GetEvent:input_type -> seqapi.v1.GetEventRequest + 15, // 64: seqapi.v1.SeqAPIService.GetHistogram:input_type -> seqapi.v1.GetHistogramRequest + 17, // 65: seqapi.v1.SeqAPIService.GetAggregation:input_type -> seqapi.v1.GetAggregationRequest + 20, // 66: seqapi.v1.SeqAPIService.GetFields:input_type -> seqapi.v1.GetFieldsRequest + 20, // 67: seqapi.v1.SeqAPIService.GetPinnedFields:input_type -> seqapi.v1.GetFieldsRequest + 24, // 68: seqapi.v1.SeqAPIService.GetLimits:input_type -> seqapi.v1.GetLimitsRequest + 26, // 69: seqapi.v1.SeqAPIService.Status:input_type -> seqapi.v1.StatusRequest + 30, // 70: seqapi.v1.SeqAPIService.GetLogsLifespan:input_type -> seqapi.v1.GetLogsLifespanRequest + 32, // 71: seqapi.v1.SeqAPIService.StartAsyncSearch:input_type -> seqapi.v1.StartAsyncSearchRequest + 34, // 72: seqapi.v1.SeqAPIService.FetchAsyncSearchResult:input_type -> seqapi.v1.FetchAsyncSearchResultRequest + 36, // 73: seqapi.v1.SeqAPIService.GetAsyncSearchesList:input_type -> seqapi.v1.GetAsyncSearchesListRequest + 38, // 74: seqapi.v1.SeqAPIService.CancelAsyncSearch:input_type -> seqapi.v1.CancelAsyncSearchRequest + 40, // 75: seqapi.v1.SeqAPIService.DeleteAsyncSearch:input_type -> seqapi.v1.DeleteAsyncSearchRequest + 42, // 76: seqapi.v1.SeqAPIService.GetEnvs:input_type -> seqapi.v1.GetEnvsRequest + 12, // 77: seqapi.v1.SeqAPIService.Search:output_type -> seqapi.v1.SearchResponse + 14, // 78: seqapi.v1.SeqAPIService.GetEvent:output_type -> seqapi.v1.GetEventResponse + 16, // 79: seqapi.v1.SeqAPIService.GetHistogram:output_type -> seqapi.v1.GetHistogramResponse + 18, // 80: seqapi.v1.SeqAPIService.GetAggregation:output_type -> seqapi.v1.GetAggregationResponse + 21, // 81: seqapi.v1.SeqAPIService.GetFields:output_type -> seqapi.v1.GetFieldsResponse + 21, // 82: seqapi.v1.SeqAPIService.GetPinnedFields:output_type -> seqapi.v1.GetFieldsResponse + 25, // 83: seqapi.v1.SeqAPIService.GetLimits:output_type -> seqapi.v1.GetLimitsResponse + 27, // 84: seqapi.v1.SeqAPIService.Status:output_type -> seqapi.v1.StatusResponse + 31, // 85: seqapi.v1.SeqAPIService.GetLogsLifespan:output_type -> seqapi.v1.GetLogsLifespanResponse + 33, // 86: seqapi.v1.SeqAPIService.StartAsyncSearch:output_type -> seqapi.v1.StartAsyncSearchResponse + 35, // 87: seqapi.v1.SeqAPIService.FetchAsyncSearchResult:output_type -> seqapi.v1.FetchAsyncSearchResultResponse + 37, // 88: seqapi.v1.SeqAPIService.GetAsyncSearchesList:output_type -> seqapi.v1.GetAsyncSearchesListResponse + 39, // 89: seqapi.v1.SeqAPIService.CancelAsyncSearch:output_type -> seqapi.v1.CancelAsyncSearchResponse + 41, // 90: seqapi.v1.SeqAPIService.DeleteAsyncSearch:output_type -> seqapi.v1.DeleteAsyncSearchResponse + 43, // 91: seqapi.v1.SeqAPIService.GetEnvs:output_type -> seqapi.v1.GetEnvsResponse + 77, // [77:92] is the sub-list for method output_type + 62, // [62:77] is the sub-list for method input_type + 62, // [62:62] is the sub-list for extension type_name + 62, // [62:62] is the sub-list for extension extendee + 0, // [0:62] is the sub-list for field type_name } func init() { file_seqapi_v1_seq_api_proto_init() } @@ -4046,7 +4138,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*GetLimitsRequest); i { + switch v := v.(*ExportAsyncSearchRequest); i { case 0: return &v.state case 1: @@ -4058,7 +4150,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*GetLimitsResponse); i { + switch v := v.(*GetLimitsRequest); i { case 0: return &v.state case 1: @@ -4070,7 +4162,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*StatusRequest); i { + switch v := v.(*GetLimitsResponse); i { case 0: return &v.state case 1: @@ -4082,7 +4174,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*StatusResponse); i { + switch v := v.(*StatusRequest); i { case 0: return &v.state case 1: @@ -4094,7 +4186,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*StoreStatus); i { + switch v := v.(*StatusResponse); i { case 0: return &v.state case 1: @@ -4106,7 +4198,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*StoreStatusValues); i { + switch v := v.(*StoreStatus); i { case 0: return &v.state case 1: @@ -4118,7 +4210,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*GetLogsLifespanRequest); i { + switch v := v.(*StoreStatusValues); i { case 0: return &v.state case 1: @@ -4130,7 +4222,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*GetLogsLifespanResponse); i { + switch v := v.(*GetLogsLifespanRequest); i { case 0: return &v.state case 1: @@ -4142,7 +4234,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*StartAsyncSearchRequest); i { + switch v := v.(*GetLogsLifespanResponse); i { case 0: return &v.state case 1: @@ -4154,7 +4246,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*StartAsyncSearchResponse); i { + switch v := v.(*StartAsyncSearchRequest); i { case 0: return &v.state case 1: @@ -4166,7 +4258,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[27].Exporter = func(v any, i int) any { - switch v := v.(*FetchAsyncSearchResultRequest); i { + switch v := v.(*StartAsyncSearchResponse); i { case 0: return &v.state case 1: @@ -4178,7 +4270,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[28].Exporter = func(v any, i int) any { - switch v := v.(*FetchAsyncSearchResultResponse); i { + switch v := v.(*FetchAsyncSearchResultRequest); i { case 0: return &v.state case 1: @@ -4190,7 +4282,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[29].Exporter = func(v any, i int) any { - switch v := v.(*GetAsyncSearchesListRequest); i { + switch v := v.(*FetchAsyncSearchResultResponse); i { case 0: return &v.state case 1: @@ -4202,7 +4294,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[30].Exporter = func(v any, i int) any { - switch v := v.(*GetAsyncSearchesListResponse); i { + switch v := v.(*GetAsyncSearchesListRequest); i { case 0: return &v.state case 1: @@ -4214,7 +4306,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[31].Exporter = func(v any, i int) any { - switch v := v.(*CancelAsyncSearchRequest); i { + switch v := v.(*GetAsyncSearchesListResponse); i { case 0: return &v.state case 1: @@ -4226,7 +4318,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[32].Exporter = func(v any, i int) any { - switch v := v.(*CancelAsyncSearchResponse); i { + switch v := v.(*CancelAsyncSearchRequest); i { case 0: return &v.state case 1: @@ -4238,7 +4330,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[33].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAsyncSearchRequest); i { + switch v := v.(*CancelAsyncSearchResponse); i { case 0: return &v.state case 1: @@ -4250,7 +4342,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[34].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAsyncSearchResponse); i { + switch v := v.(*DeleteAsyncSearchRequest); i { case 0: return &v.state case 1: @@ -4262,7 +4354,7 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[35].Exporter = func(v any, i int) any { - switch v := v.(*GetEnvsRequest); i { + switch v := v.(*DeleteAsyncSearchResponse); i { case 0: return &v.state case 1: @@ -4274,6 +4366,18 @@ func file_seqapi_v1_seq_api_proto_init() { } } file_seqapi_v1_seq_api_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*GetEnvsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_seqapi_v1_seq_api_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*GetEnvsResponse); i { case 0: return &v.state @@ -4285,7 +4389,7 @@ func file_seqapi_v1_seq_api_proto_init() { return nil } } - file_seqapi_v1_seq_api_proto_msgTypes[38].Exporter = func(v any, i int) any { + file_seqapi_v1_seq_api_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*Histogram_Bucket); i { case 0: return &v.state @@ -4297,7 +4401,7 @@ func file_seqapi_v1_seq_api_proto_init() { return nil } } - file_seqapi_v1_seq_api_proto_msgTypes[39].Exporter = func(v any, i int) any { + file_seqapi_v1_seq_api_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*Aggregation_Bucket); i { case 0: return &v.state @@ -4309,7 +4413,7 @@ func file_seqapi_v1_seq_api_proto_init() { return nil } } - file_seqapi_v1_seq_api_proto_msgTypes[40].Exporter = func(v any, i int) any { + file_seqapi_v1_seq_api_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*SearchRequest_Histogram); i { case 0: return &v.state @@ -4321,7 +4425,7 @@ func file_seqapi_v1_seq_api_proto_init() { return nil } } - file_seqapi_v1_seq_api_proto_msgTypes[41].Exporter = func(v any, i int) any { + file_seqapi_v1_seq_api_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*StartAsyncSearchRequest_HistQuery); i { case 0: return &v.state @@ -4333,7 +4437,7 @@ func file_seqapi_v1_seq_api_proto_init() { return nil } } - file_seqapi_v1_seq_api_proto_msgTypes[42].Exporter = func(v any, i int) any { + file_seqapi_v1_seq_api_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*GetAsyncSearchesListResponse_ListItem); i { case 0: return &v.state @@ -4345,7 +4449,7 @@ func file_seqapi_v1_seq_api_proto_init() { return nil } } - file_seqapi_v1_seq_api_proto_msgTypes[43].Exporter = func(v any, i int) any { + file_seqapi_v1_seq_api_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*GetEnvsResponse_Env); i { case 0: return &v.state @@ -4363,20 +4467,20 @@ func file_seqapi_v1_seq_api_proto_init() { file_seqapi_v1_seq_api_proto_msgTypes[6].OneofWrappers = []any{} file_seqapi_v1_seq_api_proto_msgTypes[10].OneofWrappers = []any{} file_seqapi_v1_seq_api_proto_msgTypes[12].OneofWrappers = []any{} - file_seqapi_v1_seq_api_proto_msgTypes[20].OneofWrappers = []any{} file_seqapi_v1_seq_api_proto_msgTypes[21].OneofWrappers = []any{} - file_seqapi_v1_seq_api_proto_msgTypes[25].OneofWrappers = []any{} - file_seqapi_v1_seq_api_proto_msgTypes[28].OneofWrappers = []any{} + file_seqapi_v1_seq_api_proto_msgTypes[22].OneofWrappers = []any{} + file_seqapi_v1_seq_api_proto_msgTypes[26].OneofWrappers = []any{} file_seqapi_v1_seq_api_proto_msgTypes[29].OneofWrappers = []any{} - file_seqapi_v1_seq_api_proto_msgTypes[39].OneofWrappers = []any{} - file_seqapi_v1_seq_api_proto_msgTypes[42].OneofWrappers = []any{} + file_seqapi_v1_seq_api_proto_msgTypes[30].OneofWrappers = []any{} + file_seqapi_v1_seq_api_proto_msgTypes[40].OneofWrappers = []any{} + file_seqapi_v1_seq_api_proto_msgTypes[43].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_seqapi_v1_seq_api_proto_rawDesc, NumEnums: 6, - NumMessages: 44, + NumMessages: 45, NumExtensions: 0, NumServices: 1, }, diff --git a/pkg/seqapi/v1/seq_api_grpc.pb.go b/pkg/seqapi/v1/seq_api_grpc.pb.go index 83a451d..e6a5155 100644 --- a/pkg/seqapi/v1/seq_api_grpc.pb.go +++ b/pkg/seqapi/v1/seq_api_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.4.0 -// - protoc v7.34.1 +// - protoc v7.35.1 // source: seqapi/v1/seq_api.proto package seqapi diff --git a/pkg/userprofile/v1/userprofile.pb.go b/pkg/userprofile/v1/userprofile.pb.go index d8e85f0..7f283ae 100644 --- a/pkg/userprofile/v1/userprofile.pb.go +++ b/pkg/userprofile/v1/userprofile.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 -// protoc v7.34.1 +// protoc v7.35.1 // source: userprofile/v1/userprofile.proto package userprofile diff --git a/pkg/userprofile/v1/userprofile_grpc.pb.go b/pkg/userprofile/v1/userprofile_grpc.pb.go index a2c1330..93ce310 100644 --- a/pkg/userprofile/v1/userprofile_grpc.pb.go +++ b/pkg/userprofile/v1/userprofile_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.4.0 -// - protoc v7.34.1 +// - protoc v7.35.1 // source: userprofile/v1/userprofile.proto package userprofile diff --git a/swagger/swagger.json b/swagger/swagger.json index 447f757..a6b46ea 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -810,6 +810,50 @@ } } }, + "/seqapi/v1/async_search/export": { + "post": { + "security": [ + { + "bearer": [] + } + ], + "tags": [ + "seqapi_v1" + ], + "operationId": "seqapi_v1_export_async_search", + "parameters": [ + { + "type": "string", + "description": "Environment", + "name": "env", + "in": "query" + }, + { + "description": "Request body", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/seqapi.v1.ExportAsyncSearchRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful streaming responses", + "schema": { + "$ref": "#/definitions/seqapi.v1.ExportResponse" + } + }, + "default": { + "description": "An unexpected error response", + "schema": { + "$ref": "#/definitions/UnexpectedError" + } + } + } + } + }, "/seqapi/v1/async_search/fetch": { "post": { "security": [ @@ -2574,6 +2618,37 @@ } } }, + "seqapi.v1.ExportAsyncSearchRequest": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "default": "jsonl", + "allOf": [ + { + "$ref": "#/definitions/seqapi.v1.ExportFormat" + } + ] + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "offset": { + "type": "integer", + "format": "int32" + }, + "search_id": { + "type": "string", + "format": "uuid" + } + } + }, "seqapi.v1.ExportFormat": { "type": "string", "enum": [