seqapi

package
v0.0.0-...-e07e0bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SeqAPIService_Search_FullMethodName                 = "/seqapi.v1.SeqAPIService/Search"
	SeqAPIService_GetEvent_FullMethodName               = "/seqapi.v1.SeqAPIService/GetEvent"
	SeqAPIService_GetHistogram_FullMethodName           = "/seqapi.v1.SeqAPIService/GetHistogram"
	SeqAPIService_GetAggregation_FullMethodName         = "/seqapi.v1.SeqAPIService/GetAggregation"
	SeqAPIService_GetFields_FullMethodName              = "/seqapi.v1.SeqAPIService/GetFields"
	SeqAPIService_GetPinnedFields_FullMethodName        = "/seqapi.v1.SeqAPIService/GetPinnedFields"
	SeqAPIService_GetLimits_FullMethodName              = "/seqapi.v1.SeqAPIService/GetLimits"
	SeqAPIService_Status_FullMethodName                 = "/seqapi.v1.SeqAPIService/Status"
	SeqAPIService_GetLogsLifespan_FullMethodName        = "/seqapi.v1.SeqAPIService/GetLogsLifespan"
	SeqAPIService_StartAsyncSearch_FullMethodName       = "/seqapi.v1.SeqAPIService/StartAsyncSearch"
	SeqAPIService_FetchAsyncSearchResult_FullMethodName = "/seqapi.v1.SeqAPIService/FetchAsyncSearchResult"
	SeqAPIService_GetAsyncSearchesList_FullMethodName   = "/seqapi.v1.SeqAPIService/GetAsyncSearchesList"
	SeqAPIService_CancelAsyncSearch_FullMethodName      = "/seqapi.v1.SeqAPIService/CancelAsyncSearch"
	SeqAPIService_DeleteAsyncSearch_FullMethodName      = "/seqapi.v1.SeqAPIService/DeleteAsyncSearch"
)

Variables

View Source
var (
	ErrorCode_name = map[int32]string{
		0: "ERROR_CODE_UNSPECIFIED",
		1: "ERROR_CODE_NO",
		2: "ERROR_CODE_PARTIAL_RESPONSE",
		3: "ERROR_CODE_QUERY_TOO_HEAVY",
		4: "ERROR_CODE_TOO_MANY_FRACTIONS_HIT",
	}
	ErrorCode_value = map[string]int32{
		"ERROR_CODE_UNSPECIFIED":            0,
		"ERROR_CODE_NO":                     1,
		"ERROR_CODE_PARTIAL_RESPONSE":       2,
		"ERROR_CODE_QUERY_TOO_HEAVY":        3,
		"ERROR_CODE_TOO_MANY_FRACTIONS_HIT": 4,
	}
)

Enum value maps for ErrorCode.

View Source
var (
	Order_name = map[int32]string{
		0: "ORDER_DESC",
		1: "ORDER_ASC",
	}
	Order_value = map[string]int32{
		"ORDER_DESC": 0,
		"ORDER_ASC":  1,
	}
)

Enum value maps for Order.

View Source
var (
	AggFunc_name = map[int32]string{
		0: "AGG_FUNC_COUNT",
		1: "AGG_FUNC_SUM",
		2: "AGG_FUNC_MIN",
		3: "AGG_FUNC_MAX",
		4: "AGG_FUNC_AVG",
		5: "AGG_FUNC_QUANTILE",
		6: "AGG_FUNC_UNIQUE",
	}
	AggFunc_value = map[string]int32{
		"AGG_FUNC_COUNT":    0,
		"AGG_FUNC_SUM":      1,
		"AGG_FUNC_MIN":      2,
		"AGG_FUNC_MAX":      3,
		"AGG_FUNC_AVG":      4,
		"AGG_FUNC_QUANTILE": 5,
		"AGG_FUNC_UNIQUE":   6,
	}
)

Enum value maps for AggFunc.

View Source
var (
	FieldType_name = map[int32]string{
		0: "unknown",
		1: "keyword",
		2: "text",
	}
	FieldType_value = map[string]int32{
		"unknown": 0,
		"keyword": 1,
		"text":    2,
	}
)

Enum value maps for FieldType.

View Source
var (
	ExportFormat_name = map[int32]string{
		0: "EXPORT_FORMAT_JSONL",
		1: "EXPORT_FORMAT_CSV",
	}
	ExportFormat_value = map[string]int32{
		"EXPORT_FORMAT_JSONL": 0,
		"EXPORT_FORMAT_CSV":   1,
	}
)

Enum value maps for ExportFormat.

View Source
var (
	AsyncSearchStatus_name = map[int32]string{
		0: "ASYNC_SEARCH_STATUS_UNSPECIFIED",
		1: "ASYNC_SEARCH_STATUS_IN_PROGRESS",
		2: "ASYNC_SEARCH_STATUS_DONE",
		3: "ASYNC_SEARCH_STATUS_CANCELED",
		4: "ASYNC_SEARCH_STATUS_ERROR",
	}
	AsyncSearchStatus_value = map[string]int32{
		"ASYNC_SEARCH_STATUS_UNSPECIFIED": 0,
		"ASYNC_SEARCH_STATUS_IN_PROGRESS": 1,
		"ASYNC_SEARCH_STATUS_DONE":        2,
		"ASYNC_SEARCH_STATUS_CANCELED":    3,
		"ASYNC_SEARCH_STATUS_ERROR":       4,
	}
)

Enum value maps for AsyncSearchStatus.

View Source
var File_seqapi_v1_seq_api_proto protoreflect.FileDescriptor
View Source
var SeqAPIService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "seqapi.v1.SeqAPIService",
	HandlerType: (*SeqAPIServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Search",
			Handler:    _SeqAPIService_Search_Handler,
		},
		{
			MethodName: "GetEvent",
			Handler:    _SeqAPIService_GetEvent_Handler,
		},
		{
			MethodName: "GetHistogram",
			Handler:    _SeqAPIService_GetHistogram_Handler,
		},
		{
			MethodName: "GetAggregation",
			Handler:    _SeqAPIService_GetAggregation_Handler,
		},
		{
			MethodName: "GetFields",
			Handler:    _SeqAPIService_GetFields_Handler,
		},
		{
			MethodName: "GetPinnedFields",
			Handler:    _SeqAPIService_GetPinnedFields_Handler,
		},
		{
			MethodName: "GetLimits",
			Handler:    _SeqAPIService_GetLimits_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _SeqAPIService_Status_Handler,
		},
		{
			MethodName: "GetLogsLifespan",
			Handler:    _SeqAPIService_GetLogsLifespan_Handler,
		},
		{
			MethodName: "StartAsyncSearch",
			Handler:    _SeqAPIService_StartAsyncSearch_Handler,
		},
		{
			MethodName: "FetchAsyncSearchResult",
			Handler:    _SeqAPIService_FetchAsyncSearchResult_Handler,
		},
		{
			MethodName: "GetAsyncSearchesList",
			Handler:    _SeqAPIService_GetAsyncSearchesList_Handler,
		},
		{
			MethodName: "CancelAsyncSearch",
			Handler:    _SeqAPIService_CancelAsyncSearch_Handler,
		},
		{
			MethodName: "DeleteAsyncSearch",
			Handler:    _SeqAPIService_DeleteAsyncSearch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "seqapi/v1/seq_api.proto",
}

SeqAPIService_ServiceDesc is the grpc.ServiceDesc for SeqAPIService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSeqAPIServiceServer

func RegisterSeqAPIServiceServer(s grpc.ServiceRegistrar, srv SeqAPIServiceServer)

Types

type AggFunc

type AggFunc int32
const (
	AggFunc_AGG_FUNC_COUNT    AggFunc = 0
	AggFunc_AGG_FUNC_SUM      AggFunc = 1
	AggFunc_AGG_FUNC_MIN      AggFunc = 2
	AggFunc_AGG_FUNC_MAX      AggFunc = 3
	AggFunc_AGG_FUNC_AVG      AggFunc = 4
	AggFunc_AGG_FUNC_QUANTILE AggFunc = 5
	AggFunc_AGG_FUNC_UNIQUE   AggFunc = 6
)

func (AggFunc) Descriptor

func (AggFunc) Descriptor() protoreflect.EnumDescriptor

func (AggFunc) Enum

func (x AggFunc) Enum() *AggFunc

func (AggFunc) EnumDescriptor deprecated

func (AggFunc) EnumDescriptor() ([]byte, []int)

Deprecated: Use AggFunc.Descriptor instead.

func (AggFunc) Number

func (x AggFunc) Number() protoreflect.EnumNumber

func (AggFunc) String

func (x AggFunc) String() string

func (AggFunc) Type

func (AggFunc) Type() protoreflect.EnumType

type Aggregation

type Aggregation struct {
	Buckets   []*Aggregation_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	NotExists int64                 `protobuf:"varint,2,opt,name=not_exists,json=notExists,proto3" json:"not_exists,omitempty"`
	// contains filtered or unexported fields
}

func (*Aggregation) Descriptor deprecated

func (*Aggregation) Descriptor() ([]byte, []int)

Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.

func (*Aggregation) GetBuckets

func (x *Aggregation) GetBuckets() []*Aggregation_Bucket

func (*Aggregation) GetNotExists

func (x *Aggregation) GetNotExists() int64

func (*Aggregation) ProtoMessage

func (*Aggregation) ProtoMessage()

func (*Aggregation) ProtoReflect

func (x *Aggregation) ProtoReflect() protoreflect.Message

func (*Aggregation) Reset

func (x *Aggregation) Reset()

func (*Aggregation) String

func (x *Aggregation) String() string

type AggregationQuery

type AggregationQuery struct {
	Field     string    `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	GroupBy   string    `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	Func      AggFunc   `protobuf:"varint,4,opt,name=func,proto3,enum=seqapi.v1.AggFunc" json:"func,omitempty"`
	Quantiles []float64 `protobuf:"fixed64,5,rep,packed,name=quantiles,proto3" json:"quantiles,omitempty"`
	Interval  *string   `protobuf:"bytes,6,opt,name=interval,proto3,oneof" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregationQuery) Descriptor deprecated

func (*AggregationQuery) Descriptor() ([]byte, []int)

Deprecated: Use AggregationQuery.ProtoReflect.Descriptor instead.

func (*AggregationQuery) GetField

func (x *AggregationQuery) GetField() string

func (*AggregationQuery) GetFunc

func (x *AggregationQuery) GetFunc() AggFunc

func (*AggregationQuery) GetGroupBy

func (x *AggregationQuery) GetGroupBy() string

func (*AggregationQuery) GetInterval

func (x *AggregationQuery) GetInterval() string

func (*AggregationQuery) GetQuantiles

func (x *AggregationQuery) GetQuantiles() []float64

func (*AggregationQuery) ProtoMessage

func (*AggregationQuery) ProtoMessage()

func (*AggregationQuery) ProtoReflect

func (x *AggregationQuery) ProtoReflect() protoreflect.Message

func (*AggregationQuery) Reset

func (x *AggregationQuery) Reset()

func (*AggregationQuery) String

func (x *AggregationQuery) String() string

type Aggregation_Bucket

type Aggregation_Bucket struct {
	Key       string                 `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value     *float64               `protobuf:"fixed64,3,opt,name=value,proto3,oneof" json:"value,omitempty"`
	NotExists int64                  `protobuf:"varint,4,opt,name=not_exists,json=notExists,proto3" json:"not_exists,omitempty"`
	Quantiles []float64              `protobuf:"fixed64,5,rep,packed,name=quantiles,proto3" json:"quantiles,omitempty"`
	Ts        *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ts,proto3,oneof" json:"ts,omitempty"`
	// contains filtered or unexported fields
}

func (*Aggregation_Bucket) Descriptor deprecated

func (*Aggregation_Bucket) Descriptor() ([]byte, []int)

Deprecated: Use Aggregation_Bucket.ProtoReflect.Descriptor instead.

func (*Aggregation_Bucket) GetKey

func (x *Aggregation_Bucket) GetKey() string

func (*Aggregation_Bucket) GetNotExists

func (x *Aggregation_Bucket) GetNotExists() int64

func (*Aggregation_Bucket) GetQuantiles

func (x *Aggregation_Bucket) GetQuantiles() []float64

func (*Aggregation_Bucket) GetTs

func (*Aggregation_Bucket) GetValue

func (x *Aggregation_Bucket) GetValue() float64

func (*Aggregation_Bucket) ProtoMessage

func (*Aggregation_Bucket) ProtoMessage()

func (*Aggregation_Bucket) ProtoReflect

func (x *Aggregation_Bucket) ProtoReflect() protoreflect.Message

func (*Aggregation_Bucket) Reset

func (x *Aggregation_Bucket) Reset()

func (*Aggregation_Bucket) String

func (x *Aggregation_Bucket) String() string

type AsyncSearchStatus

type AsyncSearchStatus int32
const (
	AsyncSearchStatus_ASYNC_SEARCH_STATUS_UNSPECIFIED AsyncSearchStatus = 0
	AsyncSearchStatus_ASYNC_SEARCH_STATUS_IN_PROGRESS AsyncSearchStatus = 1
	AsyncSearchStatus_ASYNC_SEARCH_STATUS_DONE        AsyncSearchStatus = 2
	AsyncSearchStatus_ASYNC_SEARCH_STATUS_CANCELED    AsyncSearchStatus = 3
	AsyncSearchStatus_ASYNC_SEARCH_STATUS_ERROR       AsyncSearchStatus = 4
)

func (AsyncSearchStatus) Descriptor

func (AsyncSearchStatus) Enum

func (AsyncSearchStatus) EnumDescriptor deprecated

func (AsyncSearchStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use AsyncSearchStatus.Descriptor instead.

func (AsyncSearchStatus) Number

func (AsyncSearchStatus) String

func (x AsyncSearchStatus) String() string

func (AsyncSearchStatus) Type

type CancelAsyncSearchRequest

type CancelAsyncSearchRequest struct {
	SearchId string `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelAsyncSearchRequest) Descriptor deprecated

func (*CancelAsyncSearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelAsyncSearchRequest.ProtoReflect.Descriptor instead.

func (*CancelAsyncSearchRequest) GetSearchId

func (x *CancelAsyncSearchRequest) GetSearchId() string

func (*CancelAsyncSearchRequest) ProtoMessage

func (*CancelAsyncSearchRequest) ProtoMessage()

func (*CancelAsyncSearchRequest) ProtoReflect

func (x *CancelAsyncSearchRequest) ProtoReflect() protoreflect.Message

func (*CancelAsyncSearchRequest) Reset

func (x *CancelAsyncSearchRequest) Reset()

func (*CancelAsyncSearchRequest) String

func (x *CancelAsyncSearchRequest) String() string

type CancelAsyncSearchResponse

type CancelAsyncSearchResponse struct {
	// contains filtered or unexported fields
}

func (*CancelAsyncSearchResponse) Descriptor deprecated

func (*CancelAsyncSearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelAsyncSearchResponse.ProtoReflect.Descriptor instead.

func (*CancelAsyncSearchResponse) ProtoMessage

func (*CancelAsyncSearchResponse) ProtoMessage()

func (*CancelAsyncSearchResponse) ProtoReflect

func (*CancelAsyncSearchResponse) Reset

func (x *CancelAsyncSearchResponse) Reset()

func (*CancelAsyncSearchResponse) String

func (x *CancelAsyncSearchResponse) String() string

type DeleteAsyncSearchRequest

type DeleteAsyncSearchRequest struct {
	SearchId string `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAsyncSearchRequest) Descriptor deprecated

func (*DeleteAsyncSearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAsyncSearchRequest.ProtoReflect.Descriptor instead.

func (*DeleteAsyncSearchRequest) GetSearchId

func (x *DeleteAsyncSearchRequest) GetSearchId() string

func (*DeleteAsyncSearchRequest) ProtoMessage

func (*DeleteAsyncSearchRequest) ProtoMessage()

func (*DeleteAsyncSearchRequest) ProtoReflect

func (x *DeleteAsyncSearchRequest) ProtoReflect() protoreflect.Message

func (*DeleteAsyncSearchRequest) Reset

func (x *DeleteAsyncSearchRequest) Reset()

func (*DeleteAsyncSearchRequest) String

func (x *DeleteAsyncSearchRequest) String() string

type DeleteAsyncSearchResponse

type DeleteAsyncSearchResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteAsyncSearchResponse) Descriptor deprecated

func (*DeleteAsyncSearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAsyncSearchResponse.ProtoReflect.Descriptor instead.

func (*DeleteAsyncSearchResponse) ProtoMessage

func (*DeleteAsyncSearchResponse) ProtoMessage()

func (*DeleteAsyncSearchResponse) ProtoReflect

func (*DeleteAsyncSearchResponse) Reset

func (x *DeleteAsyncSearchResponse) Reset()

func (*DeleteAsyncSearchResponse) String

func (x *DeleteAsyncSearchResponse) String() string

type Error

type Error struct {
	Code    ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=seqapi.v1.ErrorCode" json:"code,omitempty"`
	Message string    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() ErrorCode

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_ERROR_CODE_UNSPECIFIED            ErrorCode = 0
	ErrorCode_ERROR_CODE_NO                     ErrorCode = 1
	ErrorCode_ERROR_CODE_PARTIAL_RESPONSE       ErrorCode = 2
	ErrorCode_ERROR_CODE_QUERY_TOO_HEAVY        ErrorCode = 3
	ErrorCode_ERROR_CODE_TOO_MANY_FRACTIONS_HIT ErrorCode = 4
)

func (ErrorCode) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

func (ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type Event

type Event struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Id   string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The values of this map is JSON.
	// For example, the data can be:
	// message: "ok google";
	// errorKind: { "kind": "NotFound", "code": "404" };
	// status: 404;
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetData

func (x *Event) GetData() map[string]string

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetTime

func (x *Event) GetTime() *timestamppb.Timestamp

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type ExportFormat

type ExportFormat int32
const (
	ExportFormat_EXPORT_FORMAT_JSONL ExportFormat = 0
	ExportFormat_EXPORT_FORMAT_CSV   ExportFormat = 1
)

func (ExportFormat) Descriptor

func (ExportFormat) Enum

func (x ExportFormat) Enum() *ExportFormat

func (ExportFormat) EnumDescriptor deprecated

func (ExportFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExportFormat.Descriptor instead.

func (ExportFormat) Number

func (ExportFormat) String

func (x ExportFormat) String() string

func (ExportFormat) Type

type ExportRequest

type ExportRequest struct {
	Query  string                 `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // query for SeqDB in key:value format
	From   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	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"`
	// contains filtered or unexported fields
}

func (*ExportRequest) Descriptor deprecated

func (*ExportRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.

func (*ExportRequest) GetFields

func (x *ExportRequest) GetFields() []string

func (*ExportRequest) GetFormat

func (x *ExportRequest) GetFormat() ExportFormat

func (*ExportRequest) GetFrom

func (x *ExportRequest) GetFrom() *timestamppb.Timestamp

func (*ExportRequest) GetLimit

func (x *ExportRequest) GetLimit() int32

func (*ExportRequest) GetOffset

func (x *ExportRequest) GetOffset() int32

func (*ExportRequest) GetQuery

func (x *ExportRequest) GetQuery() string

func (*ExportRequest) GetTo

func (x *ExportRequest) GetTo() *timestamppb.Timestamp

func (*ExportRequest) ProtoMessage

func (*ExportRequest) ProtoMessage()

func (*ExportRequest) ProtoReflect

func (x *ExportRequest) ProtoReflect() protoreflect.Message

func (*ExportRequest) Reset

func (x *ExportRequest) Reset()

func (*ExportRequest) String

func (x *ExportRequest) String() string

type FetchAsyncSearchResultRequest

type FetchAsyncSearchResultRequest struct {
	SearchId string `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	Limit    int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Order    Order  `protobuf:"varint,4,opt,name=order,proto3,enum=seqapi.v1.Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchAsyncSearchResultRequest) Descriptor deprecated

func (*FetchAsyncSearchResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchAsyncSearchResultRequest.ProtoReflect.Descriptor instead.

func (*FetchAsyncSearchResultRequest) GetLimit

func (x *FetchAsyncSearchResultRequest) GetLimit() int32

func (*FetchAsyncSearchResultRequest) GetOffset

func (x *FetchAsyncSearchResultRequest) GetOffset() int32

func (*FetchAsyncSearchResultRequest) GetOrder

func (x *FetchAsyncSearchResultRequest) GetOrder() Order

func (*FetchAsyncSearchResultRequest) GetSearchId

func (x *FetchAsyncSearchResultRequest) GetSearchId() string

func (*FetchAsyncSearchResultRequest) ProtoMessage

func (*FetchAsyncSearchResultRequest) ProtoMessage()

func (*FetchAsyncSearchResultRequest) ProtoReflect

func (*FetchAsyncSearchResultRequest) Reset

func (x *FetchAsyncSearchResultRequest) Reset()

func (*FetchAsyncSearchResultRequest) String

type FetchAsyncSearchResultResponse

type FetchAsyncSearchResultResponse struct {
	Status     AsyncSearchStatus        `protobuf:"varint,1,opt,name=status,proto3,enum=seqapi.v1.AsyncSearchStatus" json:"status,omitempty"`
	Request    *StartAsyncSearchRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	Response   *SearchResponse          `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	StartedAt  *timestamppb.Timestamp   `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	ExpiresAt  *timestamppb.Timestamp   `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	CanceledAt *timestamppb.Timestamp   `protobuf:"bytes,6,opt,name=canceled_at,json=canceledAt,proto3,oneof" json:"canceled_at,omitempty"`
	Progress   float64                  `protobuf:"fixed64,7,opt,name=progress,proto3" json:"progress,omitempty"`
	DiskUsage  uint64                   `protobuf:"varint,8,opt,name=disk_usage,json=diskUsage,proto3" json:"disk_usage,omitempty"`
	Meta       string                   `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchAsyncSearchResultResponse) Descriptor deprecated

func (*FetchAsyncSearchResultResponse) Descriptor() ([]byte, []int)

Deprecated: Use FetchAsyncSearchResultResponse.ProtoReflect.Descriptor instead.

func (*FetchAsyncSearchResultResponse) GetCanceledAt

func (*FetchAsyncSearchResultResponse) GetDiskUsage

func (x *FetchAsyncSearchResultResponse) GetDiskUsage() uint64

func (*FetchAsyncSearchResultResponse) GetExpiresAt

func (*FetchAsyncSearchResultResponse) GetMeta

func (*FetchAsyncSearchResultResponse) GetProgress

func (x *FetchAsyncSearchResultResponse) GetProgress() float64

func (*FetchAsyncSearchResultResponse) GetRequest

func (*FetchAsyncSearchResultResponse) GetResponse

func (*FetchAsyncSearchResultResponse) GetStartedAt

func (*FetchAsyncSearchResultResponse) GetStatus

func (*FetchAsyncSearchResultResponse) ProtoMessage

func (*FetchAsyncSearchResultResponse) ProtoMessage()

func (*FetchAsyncSearchResultResponse) ProtoReflect

func (*FetchAsyncSearchResultResponse) Reset

func (x *FetchAsyncSearchResultResponse) Reset()

func (*FetchAsyncSearchResultResponse) String

type Field

type Field struct {
	Name string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type FieldType `protobuf:"varint,2,opt,name=type,proto3,enum=seqapi.v1.FieldType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

func (*Field) Descriptor() ([]byte, []int)

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetType

func (x *Field) GetType() FieldType

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

func (x *Field) ProtoReflect() protoreflect.Message

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type FieldType

type FieldType int32
const (
	FieldType_unknown FieldType = 0
	FieldType_keyword FieldType = 1
	FieldType_text    FieldType = 2
)

func (FieldType) Descriptor

func (FieldType) Descriptor() protoreflect.EnumDescriptor

func (FieldType) Enum

func (x FieldType) Enum() *FieldType

func (FieldType) EnumDescriptor deprecated

func (FieldType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FieldType.Descriptor instead.

func (FieldType) Number

func (x FieldType) Number() protoreflect.EnumNumber

func (FieldType) String

func (x FieldType) String() string

func (FieldType) Type

type GetAggregationRequest

type GetAggregationRequest struct {
	Query string                 `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	From  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.
	AggField     string              `protobuf:"bytes,4,opt,name=agg_field,json=aggField,proto3" json:"agg_field,omitempty"`
	Aggregations []*AggregationQuery `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAggregationRequest) Descriptor deprecated

func (*GetAggregationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAggregationRequest.ProtoReflect.Descriptor instead.

func (*GetAggregationRequest) GetAggField deprecated

func (x *GetAggregationRequest) GetAggField() string

Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.

func (*GetAggregationRequest) GetAggregations

func (x *GetAggregationRequest) GetAggregations() []*AggregationQuery

func (*GetAggregationRequest) GetFrom

func (*GetAggregationRequest) GetQuery

func (x *GetAggregationRequest) GetQuery() string

func (*GetAggregationRequest) GetTo

func (*GetAggregationRequest) ProtoMessage

func (*GetAggregationRequest) ProtoMessage()

func (*GetAggregationRequest) ProtoReflect

func (x *GetAggregationRequest) ProtoReflect() protoreflect.Message

func (*GetAggregationRequest) Reset

func (x *GetAggregationRequest) Reset()

func (*GetAggregationRequest) String

func (x *GetAggregationRequest) String() string

type GetAggregationResponse

type GetAggregationResponse struct {

	// Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.
	Aggregation *Aggregation `protobuf:"bytes,1,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	// Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.
	PartialResponse bool           `protobuf:"varint,2,opt,name=partial_response,json=partialResponse,proto3" json:"partial_response,omitempty"`
	Aggregations    []*Aggregation `protobuf:"bytes,3,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	Error           *Error         `protobuf:"bytes,4,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAggregationResponse) Descriptor deprecated

func (*GetAggregationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAggregationResponse.ProtoReflect.Descriptor instead.

func (*GetAggregationResponse) GetAggregation deprecated

func (x *GetAggregationResponse) GetAggregation() *Aggregation

Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.

func (*GetAggregationResponse) GetAggregations

func (x *GetAggregationResponse) GetAggregations() []*Aggregation

func (*GetAggregationResponse) GetError

func (x *GetAggregationResponse) GetError() *Error

func (*GetAggregationResponse) GetPartialResponse deprecated

func (x *GetAggregationResponse) GetPartialResponse() bool

Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.

func (*GetAggregationResponse) ProtoMessage

func (*GetAggregationResponse) ProtoMessage()

func (*GetAggregationResponse) ProtoReflect

func (x *GetAggregationResponse) ProtoReflect() protoreflect.Message

func (*GetAggregationResponse) Reset

func (x *GetAggregationResponse) Reset()

func (*GetAggregationResponse) String

func (x *GetAggregationResponse) String() string

type GetAsyncSearchesListRequest

type GetAsyncSearchesListRequest struct {
	Status    *AsyncSearchStatus `protobuf:"varint,1,opt,name=status,proto3,enum=seqapi.v1.AsyncSearchStatus,oneof" json:"status,omitempty"`
	Limit     int32              `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset    int32              `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	OwnerName *string            `protobuf:"bytes,4,opt,name=owner_name,json=ownerName,proto3,oneof" json:"owner_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAsyncSearchesListRequest) Descriptor deprecated

func (*GetAsyncSearchesListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAsyncSearchesListRequest.ProtoReflect.Descriptor instead.

func (*GetAsyncSearchesListRequest) GetLimit

func (x *GetAsyncSearchesListRequest) GetLimit() int32

func (*GetAsyncSearchesListRequest) GetOffset

func (x *GetAsyncSearchesListRequest) GetOffset() int32

func (*GetAsyncSearchesListRequest) GetOwnerName

func (x *GetAsyncSearchesListRequest) GetOwnerName() string

func (*GetAsyncSearchesListRequest) GetStatus

func (*GetAsyncSearchesListRequest) ProtoMessage

func (*GetAsyncSearchesListRequest) ProtoMessage()

func (*GetAsyncSearchesListRequest) ProtoReflect

func (*GetAsyncSearchesListRequest) Reset

func (x *GetAsyncSearchesListRequest) Reset()

func (*GetAsyncSearchesListRequest) String

func (x *GetAsyncSearchesListRequest) String() string

type GetAsyncSearchesListResponse

type GetAsyncSearchesListResponse struct {
	Searches []*GetAsyncSearchesListResponse_ListItem `protobuf:"bytes,1,rep,name=searches,proto3" json:"searches,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAsyncSearchesListResponse) Descriptor deprecated

func (*GetAsyncSearchesListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAsyncSearchesListResponse.ProtoReflect.Descriptor instead.

func (*GetAsyncSearchesListResponse) GetSearches

func (*GetAsyncSearchesListResponse) ProtoMessage

func (*GetAsyncSearchesListResponse) ProtoMessage()

func (*GetAsyncSearchesListResponse) ProtoReflect

func (*GetAsyncSearchesListResponse) Reset

func (x *GetAsyncSearchesListResponse) Reset()

func (*GetAsyncSearchesListResponse) String

type GetAsyncSearchesListResponse_ListItem

type GetAsyncSearchesListResponse_ListItem struct {
	SearchId   string                   `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	Status     AsyncSearchStatus        `protobuf:"varint,2,opt,name=status,proto3,enum=seqapi.v1.AsyncSearchStatus" json:"status,omitempty"`
	Request    *StartAsyncSearchRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	StartedAt  *timestamppb.Timestamp   `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	ExpiresAt  *timestamppb.Timestamp   `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	CanceledAt *timestamppb.Timestamp   `protobuf:"bytes,6,opt,name=canceled_at,json=canceledAt,proto3,oneof" json:"canceled_at,omitempty"`
	Progress   float64                  `protobuf:"fixed64,7,opt,name=progress,proto3" json:"progress,omitempty"`
	DiskUsage  uint64                   `protobuf:"varint,8,opt,name=disk_usage,json=diskUsage,proto3" json:"disk_usage,omitempty"`
	OwnerName  string                   `protobuf:"bytes,9,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	Error      *string                  `protobuf:"bytes,10,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAsyncSearchesListResponse_ListItem) Descriptor deprecated

func (*GetAsyncSearchesListResponse_ListItem) Descriptor() ([]byte, []int)

Deprecated: Use GetAsyncSearchesListResponse_ListItem.ProtoReflect.Descriptor instead.

func (*GetAsyncSearchesListResponse_ListItem) GetCanceledAt

func (*GetAsyncSearchesListResponse_ListItem) GetDiskUsage

func (*GetAsyncSearchesListResponse_ListItem) GetError

func (*GetAsyncSearchesListResponse_ListItem) GetExpiresAt

func (*GetAsyncSearchesListResponse_ListItem) GetOwnerName

func (*GetAsyncSearchesListResponse_ListItem) GetProgress

func (*GetAsyncSearchesListResponse_ListItem) GetRequest

func (*GetAsyncSearchesListResponse_ListItem) GetSearchId

func (*GetAsyncSearchesListResponse_ListItem) GetStartedAt

func (*GetAsyncSearchesListResponse_ListItem) GetStatus

func (*GetAsyncSearchesListResponse_ListItem) ProtoMessage

func (*GetAsyncSearchesListResponse_ListItem) ProtoMessage()

func (*GetAsyncSearchesListResponse_ListItem) ProtoReflect

func (*GetAsyncSearchesListResponse_ListItem) Reset

func (*GetAsyncSearchesListResponse_ListItem) String

type GetEventRequest

type GetEventRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventRequest) Descriptor deprecated

func (*GetEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.

func (*GetEventRequest) GetId

func (x *GetEventRequest) GetId() string

func (*GetEventRequest) ProtoMessage

func (*GetEventRequest) ProtoMessage()

func (*GetEventRequest) ProtoReflect

func (x *GetEventRequest) ProtoReflect() protoreflect.Message

func (*GetEventRequest) Reset

func (x *GetEventRequest) Reset()

func (*GetEventRequest) String

func (x *GetEventRequest) String() string

type GetEventResponse

type GetEventResponse struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventResponse) Descriptor deprecated

func (*GetEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetEventResponse.ProtoReflect.Descriptor instead.

func (*GetEventResponse) GetEvent

func (x *GetEventResponse) GetEvent() *Event

func (*GetEventResponse) ProtoMessage

func (*GetEventResponse) ProtoMessage()

func (*GetEventResponse) ProtoReflect

func (x *GetEventResponse) ProtoReflect() protoreflect.Message

func (*GetEventResponse) Reset

func (x *GetEventResponse) Reset()

func (*GetEventResponse) String

func (x *GetEventResponse) String() string

type GetFieldsRequest

type GetFieldsRequest struct {
	// contains filtered or unexported fields
}

func (*GetFieldsRequest) Descriptor deprecated

func (*GetFieldsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFieldsRequest.ProtoReflect.Descriptor instead.

func (*GetFieldsRequest) ProtoMessage

func (*GetFieldsRequest) ProtoMessage()

func (*GetFieldsRequest) ProtoReflect

func (x *GetFieldsRequest) ProtoReflect() protoreflect.Message

func (*GetFieldsRequest) Reset

func (x *GetFieldsRequest) Reset()

func (*GetFieldsRequest) String

func (x *GetFieldsRequest) String() string

type GetFieldsResponse

type GetFieldsResponse struct {
	Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFieldsResponse) Descriptor deprecated

func (*GetFieldsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetFieldsResponse.ProtoReflect.Descriptor instead.

func (*GetFieldsResponse) GetFields

func (x *GetFieldsResponse) GetFields() []*Field

func (*GetFieldsResponse) ProtoMessage

func (*GetFieldsResponse) ProtoMessage()

func (*GetFieldsResponse) ProtoReflect

func (x *GetFieldsResponse) ProtoReflect() protoreflect.Message

func (*GetFieldsResponse) Reset

func (x *GetFieldsResponse) Reset()

func (*GetFieldsResponse) String

func (x *GetFieldsResponse) String() string

type GetHistogramRequest

type GetHistogramRequest struct {
	Query    string                 `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Interval string                 `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	From     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHistogramRequest) Descriptor deprecated

func (*GetHistogramRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHistogramRequest.ProtoReflect.Descriptor instead.

func (*GetHistogramRequest) GetFrom

func (*GetHistogramRequest) GetInterval

func (x *GetHistogramRequest) GetInterval() string

func (*GetHistogramRequest) GetQuery

func (x *GetHistogramRequest) GetQuery() string

func (*GetHistogramRequest) GetTo

func (*GetHistogramRequest) ProtoMessage

func (*GetHistogramRequest) ProtoMessage()

func (*GetHistogramRequest) ProtoReflect

func (x *GetHistogramRequest) ProtoReflect() protoreflect.Message

func (*GetHistogramRequest) Reset

func (x *GetHistogramRequest) Reset()

func (*GetHistogramRequest) String

func (x *GetHistogramRequest) String() string

type GetHistogramResponse

type GetHistogramResponse struct {
	Histogram *Histogram `protobuf:"bytes,1,opt,name=histogram,proto3" json:"histogram,omitempty"`
	// Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.
	PartialResponse bool   `protobuf:"varint,2,opt,name=partial_response,json=partialResponse,proto3" json:"partial_response,omitempty"`
	Error           *Error `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHistogramResponse) Descriptor deprecated

func (*GetHistogramResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetHistogramResponse.ProtoReflect.Descriptor instead.

func (*GetHistogramResponse) GetError

func (x *GetHistogramResponse) GetError() *Error

func (*GetHistogramResponse) GetHistogram

func (x *GetHistogramResponse) GetHistogram() *Histogram

func (*GetHistogramResponse) GetPartialResponse deprecated

func (x *GetHistogramResponse) GetPartialResponse() bool

Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.

func (*GetHistogramResponse) ProtoMessage

func (*GetHistogramResponse) ProtoMessage()

func (*GetHistogramResponse) ProtoReflect

func (x *GetHistogramResponse) ProtoReflect() protoreflect.Message

func (*GetHistogramResponse) Reset

func (x *GetHistogramResponse) Reset()

func (*GetHistogramResponse) String

func (x *GetHistogramResponse) String() string

type GetLimitsRequest

type GetLimitsRequest struct {
	// contains filtered or unexported fields
}

func (*GetLimitsRequest) Descriptor deprecated

func (*GetLimitsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLimitsRequest.ProtoReflect.Descriptor instead.

func (*GetLimitsRequest) ProtoMessage

func (*GetLimitsRequest) ProtoMessage()

func (*GetLimitsRequest) ProtoReflect

func (x *GetLimitsRequest) ProtoReflect() protoreflect.Message

func (*GetLimitsRequest) Reset

func (x *GetLimitsRequest) Reset()

func (*GetLimitsRequest) String

func (x *GetLimitsRequest) String() string

type GetLimitsResponse

type GetLimitsResponse struct {
	MaxSearchLimit            int32 `protobuf:"varint,1,opt,name=max_search_limit,json=maxSearchLimit,proto3" json:"max_search_limit,omitempty"`
	MaxExportLimit            int32 `protobuf:"varint,2,opt,name=max_export_limit,json=maxExportLimit,proto3" json:"max_export_limit,omitempty"`
	MaxParallelExportRequests int32 `` /* 141-byte string literal not displayed */
	MaxAggregationsPerRequest int32 `` /* 141-byte string literal not displayed */
	SeqCliMaxSearchLimit      int32 `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetLimitsResponse) Descriptor deprecated

func (*GetLimitsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLimitsResponse.ProtoReflect.Descriptor instead.

func (*GetLimitsResponse) GetMaxAggregationsPerRequest

func (x *GetLimitsResponse) GetMaxAggregationsPerRequest() int32

func (*GetLimitsResponse) GetMaxExportLimit

func (x *GetLimitsResponse) GetMaxExportLimit() int32

func (*GetLimitsResponse) GetMaxParallelExportRequests

func (x *GetLimitsResponse) GetMaxParallelExportRequests() int32

func (*GetLimitsResponse) GetMaxSearchLimit

func (x *GetLimitsResponse) GetMaxSearchLimit() int32

func (*GetLimitsResponse) GetSeqCliMaxSearchLimit

func (x *GetLimitsResponse) GetSeqCliMaxSearchLimit() int32

func (*GetLimitsResponse) ProtoMessage

func (*GetLimitsResponse) ProtoMessage()

func (*GetLimitsResponse) ProtoReflect

func (x *GetLimitsResponse) ProtoReflect() protoreflect.Message

func (*GetLimitsResponse) Reset

func (x *GetLimitsResponse) Reset()

func (*GetLimitsResponse) String

func (x *GetLimitsResponse) String() string

type GetLogsLifespanRequest

type GetLogsLifespanRequest struct {
	// contains filtered or unexported fields
}

func (*GetLogsLifespanRequest) Descriptor deprecated

func (*GetLogsLifespanRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLogsLifespanRequest.ProtoReflect.Descriptor instead.

func (*GetLogsLifespanRequest) ProtoMessage

func (*GetLogsLifespanRequest) ProtoMessage()

func (*GetLogsLifespanRequest) ProtoReflect

func (x *GetLogsLifespanRequest) ProtoReflect() protoreflect.Message

func (*GetLogsLifespanRequest) Reset

func (x *GetLogsLifespanRequest) Reset()

func (*GetLogsLifespanRequest) String

func (x *GetLogsLifespanRequest) String() string

type GetLogsLifespanResponse

type GetLogsLifespanResponse struct {
	Lifespan *durationpb.Duration `protobuf:"bytes,1,opt,name=lifespan,proto3" json:"lifespan,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogsLifespanResponse) Descriptor deprecated

func (*GetLogsLifespanResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLogsLifespanResponse.ProtoReflect.Descriptor instead.

func (*GetLogsLifespanResponse) GetLifespan

func (x *GetLogsLifespanResponse) GetLifespan() *durationpb.Duration

func (*GetLogsLifespanResponse) ProtoMessage

func (*GetLogsLifespanResponse) ProtoMessage()

func (*GetLogsLifespanResponse) ProtoReflect

func (x *GetLogsLifespanResponse) ProtoReflect() protoreflect.Message

func (*GetLogsLifespanResponse) Reset

func (x *GetLogsLifespanResponse) Reset()

func (*GetLogsLifespanResponse) String

func (x *GetLogsLifespanResponse) String() string

type Histogram

type Histogram struct {
	Buckets []*Histogram_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

func (*Histogram) Descriptor deprecated

func (*Histogram) Descriptor() ([]byte, []int)

Deprecated: Use Histogram.ProtoReflect.Descriptor instead.

func (*Histogram) GetBuckets

func (x *Histogram) GetBuckets() []*Histogram_Bucket

func (*Histogram) ProtoMessage

func (*Histogram) ProtoMessage()

func (*Histogram) ProtoReflect

func (x *Histogram) ProtoReflect() protoreflect.Message

func (*Histogram) Reset

func (x *Histogram) Reset()

func (*Histogram) String

func (x *Histogram) String() string

type Histogram_Bucket

type Histogram_Bucket struct {
	DocCount uint64 `protobuf:"varint,1,opt,name=doc_count,json=docCount,proto3" json:"doc_count,omitempty"`
	Key      uint64 `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*Histogram_Bucket) Descriptor deprecated

func (*Histogram_Bucket) Descriptor() ([]byte, []int)

Deprecated: Use Histogram_Bucket.ProtoReflect.Descriptor instead.

func (*Histogram_Bucket) GetDocCount

func (x *Histogram_Bucket) GetDocCount() uint64

func (*Histogram_Bucket) GetKey

func (x *Histogram_Bucket) GetKey() uint64

func (*Histogram_Bucket) ProtoMessage

func (*Histogram_Bucket) ProtoMessage()

func (*Histogram_Bucket) ProtoReflect

func (x *Histogram_Bucket) ProtoReflect() protoreflect.Message

func (*Histogram_Bucket) Reset

func (x *Histogram_Bucket) Reset()

func (*Histogram_Bucket) String

func (x *Histogram_Bucket) String() string

type Order

type Order int32
const (
	Order_ORDER_DESC Order = 0
	Order_ORDER_ASC  Order = 1
)

func (Order) Descriptor

func (Order) Descriptor() protoreflect.EnumDescriptor

func (Order) Enum

func (x Order) Enum() *Order

func (Order) EnumDescriptor deprecated

func (Order) EnumDescriptor() ([]byte, []int)

Deprecated: Use Order.Descriptor instead.

func (Order) Number

func (x Order) Number() protoreflect.EnumNumber

func (Order) String

func (x Order) String() string

func (Order) Type

func (Order) Type() protoreflect.EnumType

type SearchRequest

type SearchRequest struct {
	Query        string                   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // query for SeqDB in key:value format
	From         *timestamppb.Timestamp   `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To           *timestamppb.Timestamp   `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Limit        int32                    `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset       int32                    `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
	Histogram    *SearchRequest_Histogram `protobuf:"bytes,6,opt,name=histogram,proto3,oneof" json:"histogram,omitempty"`
	WithTotal    bool                     `protobuf:"varint,7,opt,name=with_total,json=withTotal,proto3" json:"with_total,omitempty"`
	Aggregations []*AggregationQuery      `protobuf:"bytes,8,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	Order        Order                    `protobuf:"varint,9,opt,name=order,proto3,enum=seqapi.v1.Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetAggregations

func (x *SearchRequest) GetAggregations() []*AggregationQuery

func (*SearchRequest) GetFrom

func (x *SearchRequest) GetFrom() *timestamppb.Timestamp

func (*SearchRequest) GetHistogram

func (x *SearchRequest) GetHistogram() *SearchRequest_Histogram

func (*SearchRequest) GetLimit

func (x *SearchRequest) GetLimit() int32

func (*SearchRequest) GetOffset

func (x *SearchRequest) GetOffset() int32

func (*SearchRequest) GetOrder

func (x *SearchRequest) GetOrder() Order

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) GetTo

func (x *SearchRequest) GetTo() *timestamppb.Timestamp

func (*SearchRequest) GetWithTotal

func (x *SearchRequest) GetWithTotal() bool

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchRequest_Histogram

type SearchRequest_Histogram struct {
	Interval string `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest_Histogram) Descriptor deprecated

func (*SearchRequest_Histogram) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest_Histogram.ProtoReflect.Descriptor instead.

func (*SearchRequest_Histogram) GetInterval

func (x *SearchRequest_Histogram) GetInterval() string

func (*SearchRequest_Histogram) ProtoMessage

func (*SearchRequest_Histogram) ProtoMessage()

func (*SearchRequest_Histogram) ProtoReflect

func (x *SearchRequest_Histogram) ProtoReflect() protoreflect.Message

func (*SearchRequest_Histogram) Reset

func (x *SearchRequest_Histogram) Reset()

func (*SearchRequest_Histogram) String

func (x *SearchRequest_Histogram) String() string

type SearchResponse

type SearchResponse struct {
	Events    []*Event   `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Total     int64      `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Histogram *Histogram `protobuf:"bytes,3,opt,name=histogram,proto3,oneof" json:"histogram,omitempty"`
	// Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.
	PartialResponse bool           `protobuf:"varint,4,opt,name=partial_response,json=partialResponse,proto3" json:"partial_response,omitempty"`
	Aggregations    []*Aggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	Error           *Error         `protobuf:"bytes,6,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetAggregations

func (x *SearchResponse) GetAggregations() []*Aggregation

func (*SearchResponse) GetError

func (x *SearchResponse) GetError() *Error

func (*SearchResponse) GetEvents

func (x *SearchResponse) GetEvents() []*Event

func (*SearchResponse) GetHistogram

func (x *SearchResponse) GetHistogram() *Histogram

func (*SearchResponse) GetPartialResponse deprecated

func (x *SearchResponse) GetPartialResponse() bool

Deprecated: Marked as deprecated in seqapi/v1/seq_api.proto.

func (*SearchResponse) GetTotal

func (x *SearchResponse) GetTotal() int64

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type SeqAPIServiceClient

type SeqAPIServiceClient interface {
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*GetEventResponse, error)
	GetHistogram(ctx context.Context, in *GetHistogramRequest, opts ...grpc.CallOption) (*GetHistogramResponse, error)
	GetAggregation(ctx context.Context, in *GetAggregationRequest, opts ...grpc.CallOption) (*GetAggregationResponse, error)
	GetFields(ctx context.Context, in *GetFieldsRequest, opts ...grpc.CallOption) (*GetFieldsResponse, error)
	GetPinnedFields(ctx context.Context, in *GetFieldsRequest, opts ...grpc.CallOption) (*GetFieldsResponse, error)
	GetLimits(ctx context.Context, in *GetLimitsRequest, opts ...grpc.CallOption) (*GetLimitsResponse, error)
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	GetLogsLifespan(ctx context.Context, in *GetLogsLifespanRequest, opts ...grpc.CallOption) (*GetLogsLifespanResponse, error)
	StartAsyncSearch(ctx context.Context, in *StartAsyncSearchRequest, opts ...grpc.CallOption) (*StartAsyncSearchResponse, error)
	FetchAsyncSearchResult(ctx context.Context, in *FetchAsyncSearchResultRequest, opts ...grpc.CallOption) (*FetchAsyncSearchResultResponse, error)
	GetAsyncSearchesList(ctx context.Context, in *GetAsyncSearchesListRequest, opts ...grpc.CallOption) (*GetAsyncSearchesListResponse, error)
	CancelAsyncSearch(ctx context.Context, in *CancelAsyncSearchRequest, opts ...grpc.CallOption) (*CancelAsyncSearchResponse, error)
	DeleteAsyncSearch(ctx context.Context, in *DeleteAsyncSearchRequest, opts ...grpc.CallOption) (*DeleteAsyncSearchResponse, error)
}

SeqAPIServiceClient is the client API for SeqAPIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SeqAPIServiceServer

SeqAPIServiceServer is the server API for SeqAPIService service. All implementations should embed UnimplementedSeqAPIServiceServer for forward compatibility

type StartAsyncSearchRequest

type StartAsyncSearchRequest struct {
	Retention *durationpb.Duration               `protobuf:"bytes,1,opt,name=retention,proto3" json:"retention,omitempty"`
	Query     string                             `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	From      *timestamppb.Timestamp             `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To        *timestamppb.Timestamp             `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Aggs      []*AggregationQuery                `protobuf:"bytes,5,rep,name=aggs,proto3" json:"aggs,omitempty"`
	Hist      *StartAsyncSearchRequest_HistQuery `protobuf:"bytes,6,opt,name=hist,proto3,oneof" json:"hist,omitempty"`
	WithDocs  bool                               `protobuf:"varint,7,opt,name=with_docs,json=withDocs,proto3" json:"with_docs,omitempty"`
	Size      int32                              `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"`
	Meta      string                             `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*StartAsyncSearchRequest) Descriptor deprecated

func (*StartAsyncSearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartAsyncSearchRequest.ProtoReflect.Descriptor instead.

func (*StartAsyncSearchRequest) GetAggs

func (x *StartAsyncSearchRequest) GetAggs() []*AggregationQuery

func (*StartAsyncSearchRequest) GetFrom

func (*StartAsyncSearchRequest) GetHist

func (*StartAsyncSearchRequest) GetMeta

func (x *StartAsyncSearchRequest) GetMeta() string

func (*StartAsyncSearchRequest) GetQuery

func (x *StartAsyncSearchRequest) GetQuery() string

func (*StartAsyncSearchRequest) GetRetention

func (x *StartAsyncSearchRequest) GetRetention() *durationpb.Duration

func (*StartAsyncSearchRequest) GetSize

func (x *StartAsyncSearchRequest) GetSize() int32

func (*StartAsyncSearchRequest) GetTo

func (*StartAsyncSearchRequest) GetWithDocs

func (x *StartAsyncSearchRequest) GetWithDocs() bool

func (*StartAsyncSearchRequest) ProtoMessage

func (*StartAsyncSearchRequest) ProtoMessage()

func (*StartAsyncSearchRequest) ProtoReflect

func (x *StartAsyncSearchRequest) ProtoReflect() protoreflect.Message

func (*StartAsyncSearchRequest) Reset

func (x *StartAsyncSearchRequest) Reset()

func (*StartAsyncSearchRequest) String

func (x *StartAsyncSearchRequest) String() string

type StartAsyncSearchRequest_HistQuery

type StartAsyncSearchRequest_HistQuery struct {
	Interval string `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*StartAsyncSearchRequest_HistQuery) Descriptor deprecated

func (*StartAsyncSearchRequest_HistQuery) Descriptor() ([]byte, []int)

Deprecated: Use StartAsyncSearchRequest_HistQuery.ProtoReflect.Descriptor instead.

func (*StartAsyncSearchRequest_HistQuery) GetInterval

func (x *StartAsyncSearchRequest_HistQuery) GetInterval() string

func (*StartAsyncSearchRequest_HistQuery) ProtoMessage

func (*StartAsyncSearchRequest_HistQuery) ProtoMessage()

func (*StartAsyncSearchRequest_HistQuery) ProtoReflect

func (*StartAsyncSearchRequest_HistQuery) Reset

func (*StartAsyncSearchRequest_HistQuery) String

type StartAsyncSearchResponse

type StartAsyncSearchResponse struct {
	SearchId string `protobuf:"bytes,1,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartAsyncSearchResponse) Descriptor deprecated

func (*StartAsyncSearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartAsyncSearchResponse.ProtoReflect.Descriptor instead.

func (*StartAsyncSearchResponse) GetSearchId

func (x *StartAsyncSearchResponse) GetSearchId() string

func (*StartAsyncSearchResponse) ProtoMessage

func (*StartAsyncSearchResponse) ProtoMessage()

func (*StartAsyncSearchResponse) ProtoReflect

func (x *StartAsyncSearchResponse) ProtoReflect() protoreflect.Message

func (*StartAsyncSearchResponse) Reset

func (x *StartAsyncSearchResponse) Reset()

func (*StartAsyncSearchResponse) String

func (x *StartAsyncSearchResponse) String() string

type StatusRequest

type StatusRequest struct {
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {
	NumberOfStores    int32                  `protobuf:"varint,1,opt,name=number_of_stores,json=numberOfStores,proto3" json:"number_of_stores,omitempty"`
	OldestStorageTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=oldest_storage_time,json=oldestStorageTime,proto3,oneof" json:"oldest_storage_time,omitempty"`
	Stores            []*StoreStatus         `protobuf:"bytes,4,rep,name=stores,proto3" json:"stores,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

func (*StatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetNumberOfStores

func (x *StatusResponse) GetNumberOfStores() int32

func (*StatusResponse) GetOldestStorageTime

func (x *StatusResponse) GetOldestStorageTime() *timestamppb.Timestamp

func (*StatusResponse) GetStores

func (x *StatusResponse) GetStores() []*StoreStatus

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type StoreStatus

type StoreStatus struct {
	Host   string             `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Values *StoreStatusValues `protobuf:"bytes,2,opt,name=values,proto3,oneof" json:"values,omitempty"`
	Error  *string            `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreStatus) Descriptor deprecated

func (*StoreStatus) Descriptor() ([]byte, []int)

Deprecated: Use StoreStatus.ProtoReflect.Descriptor instead.

func (*StoreStatus) GetError

func (x *StoreStatus) GetError() string

func (*StoreStatus) GetHost

func (x *StoreStatus) GetHost() string

func (*StoreStatus) GetValues

func (x *StoreStatus) GetValues() *StoreStatusValues

func (*StoreStatus) ProtoMessage

func (*StoreStatus) ProtoMessage()

func (*StoreStatus) ProtoReflect

func (x *StoreStatus) ProtoReflect() protoreflect.Message

func (*StoreStatus) Reset

func (x *StoreStatus) Reset()

func (*StoreStatus) String

func (x *StoreStatus) String() string

type StoreStatusValues

type StoreStatusValues struct {
	OldestTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=oldest_time,json=oldestTime,proto3" json:"oldest_time,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreStatusValues) Descriptor deprecated

func (*StoreStatusValues) Descriptor() ([]byte, []int)

Deprecated: Use StoreStatusValues.ProtoReflect.Descriptor instead.

func (*StoreStatusValues) GetOldestTime

func (x *StoreStatusValues) GetOldestTime() *timestamppb.Timestamp

func (*StoreStatusValues) ProtoMessage

func (*StoreStatusValues) ProtoMessage()

func (*StoreStatusValues) ProtoReflect

func (x *StoreStatusValues) ProtoReflect() protoreflect.Message

func (*StoreStatusValues) Reset

func (x *StoreStatusValues) Reset()

func (*StoreStatusValues) String

func (x *StoreStatusValues) String() string

type UnimplementedSeqAPIServiceServer

type UnimplementedSeqAPIServiceServer struct {
}

UnimplementedSeqAPIServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSeqAPIServiceServer) CancelAsyncSearch

func (UnimplementedSeqAPIServiceServer) DeleteAsyncSearch

func (UnimplementedSeqAPIServiceServer) GetAggregation

func (UnimplementedSeqAPIServiceServer) GetEvent

func (UnimplementedSeqAPIServiceServer) GetFields

func (UnimplementedSeqAPIServiceServer) GetHistogram

func (UnimplementedSeqAPIServiceServer) GetLimits

func (UnimplementedSeqAPIServiceServer) GetLogsLifespan

func (UnimplementedSeqAPIServiceServer) GetPinnedFields

func (UnimplementedSeqAPIServiceServer) Search

func (UnimplementedSeqAPIServiceServer) StartAsyncSearch

func (UnimplementedSeqAPIServiceServer) Status

type UnsafeSeqAPIServiceServer

type UnsafeSeqAPIServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSeqAPIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SeqAPIServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL