import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { Line } from "../../metastore/v1alpha1/metastore"; import { Function } from "../../metastore/v1alpha1/metastore"; import { Mapping } from "../../metastore/v1alpha1/metastore"; import { Location } from "../../metastore/v1alpha1/metastore"; import { LabelSet } from "../../profilestore/v1alpha1/profilestore"; import { Duration } from "../../../google/protobuf/duration"; import { Timestamp } from "../../../google/protobuf/timestamp"; /** * ProfileTypesRequest is the request to retrieve the list of available profile types. * * @generated from protobuf message parca.query.v1alpha1.ProfileTypesRequest */ export interface ProfileTypesRequest { /** * start is the start of the query time window * * @generated from protobuf field: optional google.protobuf.Timestamp start = 1 */ start?: Timestamp; /** * end is the end of the query time window * * @generated from protobuf field: optional google.protobuf.Timestamp end = 2 */ end?: Timestamp; } /** * ProfileTypesResponse is the response to retrieve the list of available profile types. * * @generated from protobuf message parca.query.v1alpha1.ProfileTypesResponse */ export interface ProfileTypesResponse { /** * types is the list of available profile types. * * @generated from protobuf field: repeated parca.query.v1alpha1.ProfileType types = 1 */ types: ProfileType[]; } /** * ProfileType is the type of a profile as well as the units the profile type is available in. * * @generated from protobuf message parca.query.v1alpha1.ProfileType */ export interface ProfileType { /** * name is the name of the profile type. * * @generated from protobuf field: string name = 1 */ name: string; /** * sample_type is the type of the samples in the profile. * * @generated from protobuf field: string sample_type = 2 */ sampleType: string; /** * sample_unit is the unit of the samples in the profile. * * @generated from protobuf field: string sample_unit = 3 */ sampleUnit: string; /** * period_type is the type of the periods in the profile. * * @generated from protobuf field: string period_type = 4 */ periodType: string; /** * period_unit is the unit of the periods in the profile. * * @generated from protobuf field: string period_unit = 5 */ periodUnit: string; /** * delta describes whether the profile is a delta profile. * * @generated from protobuf field: bool delta = 6 */ delta: boolean; } /** * QueryRangeRequest is the request for a set of profiles matching a query over a time window * * @generated from protobuf message parca.query.v1alpha1.QueryRangeRequest */ export interface QueryRangeRequest { /** * query is the query string to match profiles against * * @generated from protobuf field: string query = 1 */ query: string; /** * start is the start of the query time window * * @generated from protobuf field: google.protobuf.Timestamp start = 2 */ start?: Timestamp; /** * end is the end of the query time window * * @generated from protobuf field: google.protobuf.Timestamp end = 3 */ end?: Timestamp; /** * limit is the max number of profiles to include in the response * * @generated from protobuf field: uint32 limit = 4 */ limit: number; /** * step is the duration of each sample returned. * * @generated from protobuf field: google.protobuf.Duration step = 5 */ step?: Duration; /** * sum_by is the set of labels to sum by * * @generated from protobuf field: repeated string sum_by = 6 */ sumBy: string[]; } /** * QueryRangeResponse is the set of matching profile values * * @generated from protobuf message parca.query.v1alpha1.QueryRangeResponse */ export interface QueryRangeResponse { /** * series is the set of metrics series that satisfy the query range request * * @generated from protobuf field: repeated parca.query.v1alpha1.MetricsSeries series = 1 */ series: MetricsSeries[]; } /** * MetricsSeries is a set of labels and corresponding sample values * * @generated from protobuf message parca.query.v1alpha1.MetricsSeries */ export interface MetricsSeries { /** * labelset is the set of key value pairs * * @generated from protobuf field: parca.profilestore.v1alpha1.LabelSet labelset = 1 */ labelset?: LabelSet; /** * samples is the set of top-level cumulative values of the corresponding profiles * * @generated from protobuf field: repeated parca.query.v1alpha1.MetricsSample samples = 2 */ samples: MetricsSample[]; /** * period_type is the value type of profile period * * @generated from protobuf field: parca.query.v1alpha1.ValueType period_type = 3 */ periodType?: ValueType; /** * sample_type is the value type of profile sample * * @generated from protobuf field: parca.query.v1alpha1.ValueType sample_type = 4 */ sampleType?: ValueType; } /** * MetricsSample is a cumulative value and timestamp of a profile * * @generated from protobuf message parca.query.v1alpha1.MetricsSample */ export interface MetricsSample { /** * timestamp is the time the profile was ingested * * @generated from protobuf field: google.protobuf.Timestamp timestamp = 1 */ timestamp?: Timestamp; /** * value is the cumulative value for the profile * * @generated from protobuf field: int64 value = 2 */ value: bigint; /** * value_per_second is the calculated per second average in the steps duration * * @generated from protobuf field: double value_per_second = 3 */ valuePerSecond: number; /** * duration is the normalized aggregated duration the metric samples has been observed over. * * @generated from protobuf field: int64 duration = 4 */ duration: bigint; /** * count is the number of samples aggregated into this data point. * * @generated from protobuf field: int32 count = 5 */ count: number; } /** * MergeProfile contains parameters for a merge request * * @generated from protobuf message parca.query.v1alpha1.MergeProfile */ export interface MergeProfile { /** * query is the query string to match profiles for merge * * @generated from protobuf field: string query = 1 */ query: string; /** * start is the beginning of the evaluation time window * * @generated from protobuf field: google.protobuf.Timestamp start = 2 */ start?: Timestamp; /** * end is the end of the evaluation time window * * @generated from protobuf field: google.protobuf.Timestamp end = 3 */ end?: Timestamp; } /** * SingleProfile contains parameters for a single profile query request * * @generated from protobuf message parca.query.v1alpha1.SingleProfile */ export interface SingleProfile { /** * time is the point in time to perform the profile request * * @generated from protobuf field: google.protobuf.Timestamp time = 1 */ time?: Timestamp; /** * query is the query string to retrieve the profile * * @generated from protobuf field: string query = 2 */ query: string; } /** * DiffProfile contains parameters for a profile diff request * * @generated from protobuf message parca.query.v1alpha1.DiffProfile */ export interface DiffProfile { /** * a is the first profile to diff * * @generated from protobuf field: parca.query.v1alpha1.ProfileDiffSelection a = 1 */ a?: ProfileDiffSelection; /** * b is the second profile to diff * * @generated from protobuf field: parca.query.v1alpha1.ProfileDiffSelection b = 2 */ b?: ProfileDiffSelection; /** * absolute diffing, by default comparisons are relative * * @generated from protobuf field: optional bool absolute = 3 */ absolute?: boolean; } /** * ProfileDiffSelection contains the parameters of a diff selection * * @generated from protobuf message parca.query.v1alpha1.ProfileDiffSelection */ export interface ProfileDiffSelection { /** * mode is the selection of the diff mode * * @generated from protobuf field: parca.query.v1alpha1.ProfileDiffSelection.Mode mode = 1 */ mode: ProfileDiffSelection_Mode; /** * options are the available options for a diff selection * * @generated from protobuf oneof: options */ options: { oneofKind: "merge"; /** * merge contains options for a merge request * * @generated from protobuf field: parca.query.v1alpha1.MergeProfile merge = 2 */ merge: MergeProfile; } | { oneofKind: "single"; /** * single contains options for a single profile request * * @generated from protobuf field: parca.query.v1alpha1.SingleProfile single = 3 */ single: SingleProfile; } | { oneofKind: undefined; }; } /** * Mode specifies the type of diff * * @generated from protobuf enum parca.query.v1alpha1.ProfileDiffSelection.Mode */ export declare enum ProfileDiffSelection_Mode { /** * MODE_SINGLE_UNSPECIFIED default unspecified * * @generated from protobuf enum value: MODE_SINGLE_UNSPECIFIED = 0; */ SINGLE_UNSPECIFIED = 0, /** * MODE_MERGE merge profile * * @generated from protobuf enum value: MODE_MERGE = 1; */ MERGE = 1 } /** * QueryRequest is a request for a profile query * * @generated from protobuf message parca.query.v1alpha1.QueryRequest */ export interface QueryRequest { /** * mode indicates the type of query performed * * @generated from protobuf field: parca.query.v1alpha1.QueryRequest.Mode mode = 1 */ mode: QueryRequest_Mode; /** * options are the options corresponding to the mode * * @generated from protobuf oneof: options */ options: { oneofKind: "diff"; /** * diff contains the diff query options * * @generated from protobuf field: parca.query.v1alpha1.DiffProfile diff = 2 */ diff: DiffProfile; } | { oneofKind: "merge"; /** * merge contains the merge query options * * @generated from protobuf field: parca.query.v1alpha1.MergeProfile merge = 3 */ merge: MergeProfile; } | { oneofKind: "single"; /** * single contains the single query options * * @generated from protobuf field: parca.query.v1alpha1.SingleProfile single = 4 */ single: SingleProfile; } | { oneofKind: undefined; }; /** * report_type is the type of report to return * * @generated from protobuf field: parca.query.v1alpha1.QueryRequest.ReportType report_type = 5 */ reportType: QueryRequest_ReportType; /** * filter_query is the query string to filter the profile samples * * @deprecated * @generated from protobuf field: optional string filter_query = 6 [deprecated = true] */ filterQuery?: string; /** * node_trim_threshold is the threshold % where the nodes with Value less than this will be removed from the report * * @generated from protobuf field: optional float node_trim_threshold = 7 */ nodeTrimThreshold?: number; /** * group_by indicates the fields to group by * * @generated from protobuf field: optional parca.query.v1alpha1.GroupBy group_by = 8 */ groupBy?: GroupBy; /** * source information about the source requested, required if source report is requested * * @generated from protobuf field: optional parca.query.v1alpha1.SourceReference source_reference = 9 */ sourceReference?: SourceReference; /** * which runtime frames to filter out, often interpreter frames like python or ruby are not super useful by default * * @deprecated * @generated from protobuf field: optional parca.query.v1alpha1.RuntimeFilter runtime_filter = 10 [deprecated = true] */ runtimeFilter?: RuntimeFilter; /** * invert_call_stack inverts the call stacks in the flamegraph * * @generated from protobuf field: optional bool invert_call_stack = 11 */ invertCallStack?: boolean; /** * a set of filter to apply to the query request * * @generated from protobuf field: repeated parca.query.v1alpha1.Filter filter = 12 */ filter: Filter[]; /** * sandwich_by_function is a function name to use for sandwich view functionality * * @generated from protobuf field: optional string sandwich_by_function = 13 */ sandwichByFunction?: string; } /** * Mode is the type of query request * * @generated from protobuf enum parca.query.v1alpha1.QueryRequest.Mode */ export declare enum QueryRequest_Mode { /** * MODE_SINGLE_UNSPECIFIED query unspecified * * @generated from protobuf enum value: MODE_SINGLE_UNSPECIFIED = 0; */ SINGLE_UNSPECIFIED = 0, /** * MODE_DIFF is a diff query * * @generated from protobuf enum value: MODE_DIFF = 1; */ DIFF = 1, /** * MODE_MERGE is a merge query * * @generated from protobuf enum value: MODE_MERGE = 2; */ MERGE = 2 } /** * ReportType is the type of report to return * * @generated from protobuf enum parca.query.v1alpha1.QueryRequest.ReportType */ export declare enum QueryRequest_ReportType { /** * REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED unspecified * * @deprecated * @generated from protobuf enum value: REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED = 0 [deprecated = true]; */ FLAMEGRAPH_UNSPECIFIED = 0, /** * REPORT_TYPE_PPROF unspecified * * @generated from protobuf enum value: REPORT_TYPE_PPROF = 1; */ PPROF = 1, /** * REPORT_TYPE_TOP unspecified * * @generated from protobuf enum value: REPORT_TYPE_TOP = 2; */ TOP = 2, /** * REPORT_TYPE_CALLGRAPH unspecified * * @generated from protobuf enum value: REPORT_TYPE_CALLGRAPH = 3; */ CALLGRAPH = 3, /** * REPORT_TYPE_FLAMEGRAPH_TABLE unspecified * * @generated from protobuf enum value: REPORT_TYPE_FLAMEGRAPH_TABLE = 4; */ FLAMEGRAPH_TABLE = 4, /** * REPORT_TYPE_FLAMEGRAPH_ARROW unspecified * * @generated from protobuf enum value: REPORT_TYPE_FLAMEGRAPH_ARROW = 5; */ FLAMEGRAPH_ARROW = 5, /** * REPORT_TYPE_SOURCE contains source code annotated with profiling information * * @generated from protobuf enum value: REPORT_TYPE_SOURCE = 6; */ SOURCE = 6, /** * REPORT_TYPE_TABLE_ARROW unspecified * * @generated from protobuf enum value: REPORT_TYPE_TABLE_ARROW = 7; */ TABLE_ARROW = 7, /** * REPORT_TYPE_PROFILE_METADATA contains metadata about the profile i.e. binaries, labels * * @generated from protobuf enum value: REPORT_TYPE_PROFILE_METADATA = 8; */ PROFILE_METADATA = 8, /** * REPORT_TYPE_FLAMECHART contains flamechart representation of the report * * @generated from protobuf enum value: REPORT_TYPE_FLAMECHART = 9; */ FLAMECHART = 9 } /** * FilterCriteria defines the various criteria that can be used to filter stack frames or stacks * * @generated from protobuf message parca.query.v1alpha1.FilterCriteria */ export interface FilterCriteria { /** * function_name filters by the function name * * @generated from protobuf field: parca.query.v1alpha1.StringCondition function_name = 1 */ functionName?: StringCondition; /** * system_name filters by the system name * * @generated from protobuf field: parca.query.v1alpha1.StringCondition system_name = 2 */ systemName?: StringCondition; /** * binary filters by the binary/executable name * * @generated from protobuf field: parca.query.v1alpha1.StringCondition binary = 3 */ binary?: StringCondition; /** * filename filters by the source code filename * * @generated from protobuf field: parca.query.v1alpha1.StringCondition filename = 4 */ filename?: StringCondition; /** * address filters by the memory address * * @generated from protobuf field: parca.query.v1alpha1.NumberCondition address = 5 */ address?: NumberCondition; /** * line_number filters by the source code line number * * @generated from protobuf field: parca.query.v1alpha1.NumberCondition line_number = 6 */ lineNumber?: NumberCondition; } /** * StringCondition defines string-based filtering conditions * * @generated from protobuf message parca.query.v1alpha1.StringCondition */ export interface StringCondition { /** * condition specifies the type of string comparison to perform * * @generated from protobuf oneof: condition */ condition: { oneofKind: "equal"; /** * equal matches strings that are exactly equal * * @generated from protobuf field: string equal = 1 */ equal: string; } | { oneofKind: "notEqual"; /** * not_equal matches strings that are not equal * * @generated from protobuf field: string not_equal = 2 */ notEqual: string; } | { oneofKind: "contains"; /** * contains matches strings that contain the specified substring * * @generated from protobuf field: string contains = 3 */ contains: string; } | { oneofKind: "notContains"; /** * not_contains matches strings that do not contain the specified substring * * @generated from protobuf field: string not_contains = 4 */ notContains: string; } | { oneofKind: "startsWith"; /** * starts_with matches strings that start with the specified prefix * * @generated from protobuf field: string starts_with = 5 */ startsWith: string; } | { oneofKind: "notStartsWith"; /** * not_starts_with matches strings that do not start with the specified prefix * * @generated from protobuf field: string not_starts_with = 6 */ notStartsWith: string; } | { oneofKind: undefined; }; } /** * NumberCondition defines numeric filtering conditions * * @generated from protobuf message parca.query.v1alpha1.NumberCondition */ export interface NumberCondition { /** * condition specifies the type of numeric comparison to perform * * @generated from protobuf oneof: condition */ condition: { oneofKind: "equal"; /** * equal matches numbers that are exactly equal * * @generated from protobuf field: uint64 equal = 1 */ equal: bigint; } | { oneofKind: "notEqual"; /** * not_equal matches numbers that are not equal * * @generated from protobuf field: uint64 not_equal = 2 */ notEqual: bigint; } | { oneofKind: undefined; }; } /** * Filter to apply to the query request * * @generated from protobuf message parca.query.v1alpha1.Filter */ export interface Filter { /** * filter is a oneof type of filter to apply to the query request * * @generated from protobuf oneof: filter */ filter: { oneofKind: "stackFilter"; /** * stack_filter is a filter for filtering by stacks * * @generated from protobuf field: parca.query.v1alpha1.StackFilter stack_filter = 1 */ stackFilter: StackFilter; } | { oneofKind: "frameFilter"; /** * frame_filter is a filter for filtering by frames * * @generated from protobuf field: parca.query.v1alpha1.FrameFilter frame_filter = 2 */ frameFilter: FrameFilter; } | { oneofKind: undefined; }; } /** * StackFilter applies filtering criteria to entire call stacks * * @generated from protobuf message parca.query.v1alpha1.StackFilter */ export interface StackFilter { /** * filter contains the different methods in which you can filter a stack * * @generated from protobuf oneof: filter */ filter: { oneofKind: "functionNameStackFilter"; /** * function_name_stack_filter is the function name to filter by * * @deprecated * @generated from protobuf field: parca.query.v1alpha1.FunctionNameStackFilter function_name_stack_filter = 1 [deprecated = true] */ functionNameStackFilter: FunctionNameStackFilter; } | { oneofKind: "criteria"; /** * criteria defines the filter conditions to apply to the stack * * @generated from protobuf field: parca.query.v1alpha1.FilterCriteria criteria = 2 */ criteria: FilterCriteria; } | { oneofKind: undefined; }; } /** * FunctionNameStackFilter is a filter for filtering by function name * * @generated from protobuf message parca.query.v1alpha1.FunctionNameStackFilter */ export interface FunctionNameStackFilter { /** * function_to_filter is the function name to filter by * * @generated from protobuf field: string function_to_filter = 1 */ functionToFilter: string; /** * exclude determines whether to exclude stacks matching the function * * @generated from protobuf field: bool exclude = 2 */ exclude: boolean; } /** * FrameFilter applies filtering criteria to individual stack frames * * @generated from protobuf message parca.query.v1alpha1.FrameFilter */ export interface FrameFilter { /** * filter contains the different methods in which you can filter a frame * * @generated from protobuf oneof: filter */ filter: { oneofKind: "binaryFrameFilter"; /** * binary_frame_filter is the list of binary names to filter by * * @deprecated * @generated from protobuf field: parca.query.v1alpha1.BinaryFrameFilter binary_frame_filter = 1 [deprecated = true] */ binaryFrameFilter: BinaryFrameFilter; } | { oneofKind: "criteria"; /** * criteria defines the filter conditions to apply to individual frames * * @generated from protobuf field: parca.query.v1alpha1.FilterCriteria criteria = 2 */ criteria: FilterCriteria; } | { oneofKind: undefined; }; } /** * BinaryFrameFilter is a filter for filtering by binaries * * @generated from protobuf message parca.query.v1alpha1.BinaryFrameFilter */ export interface BinaryFrameFilter { /** * include_binaries is the list of binaries to filter by * * @generated from protobuf field: repeated string include_binaries = 1 */ includeBinaries: string[]; } /** * RuntimeFilter configures which runtimes to filter frames out for. * * @generated from protobuf message parca.query.v1alpha1.RuntimeFilter */ export interface RuntimeFilter { /** * Whether to show frames of the python runtime. * * @generated from protobuf field: bool show_python = 1 */ showPython: boolean; /** * Whether to show frames of the ruby runtime. * * @generated from protobuf field: bool show_ruby = 2 */ showRuby: boolean; /** * Whether to only show interpreted frames. * * @generated from protobuf field: bool show_interpreted_only = 3 */ showInterpretedOnly: boolean; } /** * SourceReference contains a reference to source code. * * @generated from protobuf message parca.query.v1alpha1.SourceReference */ export interface SourceReference { /** * The build ID to request the source of. * * @generated from protobuf field: string build_id = 1 */ buildId: string; /** * The filename requested. * * @generated from protobuf field: string filename = 2 */ filename: string; /** * Whether to perform a full query or just retrieve the source. * * @generated from protobuf field: bool source_only = 3 */ sourceOnly: boolean; } /** * GroupBy encapsulates the repeated fields to group by * * @generated from protobuf message parca.query.v1alpha1.GroupBy */ export interface GroupBy { /** * the names of the fields to group by. * special fields are the ones prefixed with "labels." which are grouping by pprof labels. * * @generated from protobuf field: repeated string fields = 1 */ fields: string[]; } /** * Top is the top report type * * @generated from protobuf message parca.query.v1alpha1.Top */ export interface Top { /** * list are the list of ordered elements of the table * * @generated from protobuf field: repeated parca.query.v1alpha1.TopNode list = 1 */ list: TopNode[]; /** * reported is the number of lines reported * * @generated from protobuf field: int32 reported = 2 */ reported: number; /** * total is the number of lines that exist in the report * Use total from the top level query response instead. * * @deprecated * @generated from protobuf field: int32 total = 3 [deprecated = true] */ total: number; /** * unit is the unit represented by top table * * @generated from protobuf field: string unit = 4 */ unit: string; } /** * TopNode is a node entry in a top list * * @generated from protobuf message parca.query.v1alpha1.TopNode */ export interface TopNode { /** * meta is the metadata about the node * * @generated from protobuf field: parca.query.v1alpha1.TopNodeMeta meta = 1 */ meta?: TopNodeMeta; /** * cumulative is the cumulative value of the node * * @generated from protobuf field: int64 cumulative = 2 */ cumulative: bigint; /** * flat is the flat value of the node * * @generated from protobuf field: int64 flat = 3 */ flat: bigint; /** * diff is the diff value between two profiles * * @generated from protobuf field: int64 diff = 4 */ diff: bigint; } /** * TopNodeMeta is the metadata for a given node * * @generated from protobuf message parca.query.v1alpha1.TopNodeMeta */ export interface TopNodeMeta { /** * location is the location for the code * * @generated from protobuf field: parca.metastore.v1alpha1.Location location = 1 */ location?: Location; /** * mapping is the mapping into code * * @generated from protobuf field: parca.metastore.v1alpha1.Mapping mapping = 2 */ mapping?: Mapping; /** * function is the function information * * @generated from protobuf field: parca.metastore.v1alpha1.Function function = 3 */ function?: Function; /** * line is the line location * * @generated from protobuf field: parca.metastore.v1alpha1.Line line = 4 */ line?: Line; } /** * Flamegraph is the flame graph report type * * @generated from protobuf message parca.query.v1alpha1.Flamegraph */ export interface Flamegraph { /** * root is the root of the flame graph * * @generated from protobuf field: parca.query.v1alpha1.FlamegraphRootNode root = 1 */ root?: FlamegraphRootNode; /** * total is the total weight of the flame graph * Use total from the top level query response instead. * * @deprecated * @generated from protobuf field: int64 total = 2 [deprecated = true] */ total: bigint; /** * unit is the unit represented by the flame graph * * @generated from protobuf field: string unit = 3 */ unit: string; /** * height is the max height of the graph * * @generated from protobuf field: int32 height = 4 */ height: number; /** * string_table holds all deduplicated strings used in the meta data. * * @generated from protobuf field: repeated string string_table = 5 */ stringTable: string[]; /** * locations deduplicated by their ID to be referenced by nodes. * * @generated from protobuf field: repeated parca.metastore.v1alpha1.Location locations = 6 */ locations: Location[]; /** * mapping deduplicated by their ID to be referenced by nodes. * * @generated from protobuf field: repeated parca.metastore.v1alpha1.Mapping mapping = 7 */ mapping: Mapping[]; /** * function deduplicated by their ID to be referenced by nodes. * * @generated from protobuf field: repeated parca.metastore.v1alpha1.Function function = 8 */ function: Function[]; /** * untrimmed_total is the total weight of the flame graph before trimming. * Use trimmed instead. * * @deprecated * @generated from protobuf field: int64 untrimmed_total = 9 [deprecated = true] */ untrimmedTotal: bigint; /** * trimmed is the amount of cumulative value trimmed from the flame graph. * * @generated from protobuf field: int64 trimmed = 10 */ trimmed: bigint; } /** * Flamegraph is the flame graph report type * * @generated from protobuf message parca.query.v1alpha1.FlamegraphArrow */ export interface FlamegraphArrow { /** * record is the arrow record containing the actual flamegraph data * * @generated from protobuf field: bytes record = 1 */ record: Uint8Array; /** * unit is the unit represented by the flame graph * * @generated from protobuf field: string unit = 2 */ unit: string; /** * height is the max height of the graph * * @generated from protobuf field: int32 height = 3 */ height: number; /** * trimmed is the amount of cumulative value trimmed from the flame graph. * * @generated from protobuf field: int64 trimmed = 4 */ trimmed: bigint; } /** * Source is the result of the source report type. * * @generated from protobuf message parca.query.v1alpha1.Source */ export interface Source { /** * An arrow record that contains a row per source code line with value and diff columns for flat and cumulative. * * @generated from protobuf field: bytes record = 1 */ record: Uint8Array; /** * The actual source file content. * * @generated from protobuf field: string source = 2 */ source: string; /** * The unit of the values in the record. * * @generated from protobuf field: string unit = 3 */ unit: string; } /** * FlamegraphRootNode is a root node of a flame graph * * @generated from protobuf message parca.query.v1alpha1.FlamegraphRootNode */ export interface FlamegraphRootNode { /** * cumulative is the cumulative value of the graph * * @generated from protobuf field: int64 cumulative = 1 */ cumulative: bigint; /** * diff is the diff * * @generated from protobuf field: int64 diff = 2 */ diff: bigint; /** * children are the list of the children of the root node * * @generated from protobuf field: repeated parca.query.v1alpha1.FlamegraphNode children = 3 */ children: FlamegraphNode[]; } /** * FlamegraphNode represents a node in the graph * * @generated from protobuf message parca.query.v1alpha1.FlamegraphNode */ export interface FlamegraphNode { /** * meta is the metadata about the node * * @generated from protobuf field: parca.query.v1alpha1.FlamegraphNodeMeta meta = 1 */ meta?: FlamegraphNodeMeta; /** * cumulative is the cumulative value of the node * * @generated from protobuf field: int64 cumulative = 2 */ cumulative: bigint; /** * diff is the diff * * @generated from protobuf field: int64 diff = 3 */ diff: bigint; /** * children are the child nodes * * @generated from protobuf field: repeated parca.query.v1alpha1.FlamegraphNode children = 4 */ children: FlamegraphNode[]; } /** * FlamegraphNodeMeta is the metadata for a given node * * @generated from protobuf message parca.query.v1alpha1.FlamegraphNodeMeta */ export interface FlamegraphNodeMeta { /** * location is the location for the code * * @generated from protobuf field: parca.metastore.v1alpha1.Location location = 1 */ location?: Location; /** * mapping is the mapping into code * * @generated from protobuf field: parca.metastore.v1alpha1.Mapping mapping = 2 */ mapping?: Mapping; /** * function is the function information * * @generated from protobuf field: parca.metastore.v1alpha1.Function function = 3 */ function?: Function; /** * line is the line location * * @generated from protobuf field: parca.metastore.v1alpha1.Line line = 4 */ line?: Line; /** * location_index has the index to the deduplicated location in the location table. * * @generated from protobuf field: uint32 location_index = 5 */ locationIndex: number; /** * line_index is the line index within the referenced location. * * @generated from protobuf field: uint32 line_index = 6 */ lineIndex: number; } /** * CallgraphNode represents a node in the graph * * @generated from protobuf message parca.query.v1alpha1.CallgraphNode */ export interface CallgraphNode { /** * id is the unique id of the node * * @generated from protobuf field: string id = 1 */ id: string; /** * meta is the metadata about the node * * @generated from protobuf field: parca.query.v1alpha1.CallgraphNodeMeta meta = 2 */ meta?: CallgraphNodeMeta; /** * cumulative is the cumulative value of the node * * @generated from protobuf field: int64 cumulative = 3 */ cumulative: bigint; /** * flat is the flat value of the node * * @generated from protobuf field: int64 flat = 4 */ flat: bigint; } /** * TopNodeMeta is the metadata for a given node * * @generated from protobuf message parca.query.v1alpha1.CallgraphNodeMeta */ export interface CallgraphNodeMeta { /** * location is the location for the code * * @generated from protobuf field: parca.metastore.v1alpha1.Location location = 1 */ location?: Location; /** * mapping is the mapping into code * * @generated from protobuf field: parca.metastore.v1alpha1.Mapping mapping = 2 */ mapping?: Mapping; /** * function is the function information * * @generated from protobuf field: parca.metastore.v1alpha1.Function function = 3 */ function?: Function; /** * line is the line location * * @generated from protobuf field: parca.metastore.v1alpha1.Line line = 4 */ line?: Line; } /** * CallgraphEdge represents an edge in the graph * * @generated from protobuf message parca.query.v1alpha1.CallgraphEdge */ export interface CallgraphEdge { /** * id is the unique id of the edge * * @generated from protobuf field: string id = 1 */ id: string; /** * source represents the id of the source node * * @generated from protobuf field: string source = 2 */ source: string; /** * target represents the id of the target node * * @generated from protobuf field: string target = 3 */ target: string; /** * cumulative is the cumulative value of the edge * * @generated from protobuf field: int64 cumulative = 4 */ cumulative: bigint; /** * is_collapsed indicates if the edge is collapsed * * @generated from protobuf field: bool is_collapsed = 5 */ isCollapsed: boolean; } /** * Callgraph is the callgraph report type * * @generated from protobuf message parca.query.v1alpha1.Callgraph */ export interface Callgraph { /** * nodes are the nodes in the callgraph * * @generated from protobuf field: repeated parca.query.v1alpha1.CallgraphNode nodes = 1 */ nodes: CallgraphNode[]; /** * edges are the edges connecting nodes in the callgraph * * @generated from protobuf field: repeated parca.query.v1alpha1.CallgraphEdge edges = 2 */ edges: CallgraphEdge[]; /** * cumulative is the total cumulative value of the callgraph * Use total from the top level query response instead. * * @deprecated * @generated from protobuf field: int64 cumulative = 3 [deprecated = true] */ cumulative: bigint; } /** * QueryResponse is the returned report for the given query * * @generated from protobuf message parca.query.v1alpha1.QueryResponse */ export interface QueryResponse { /** * report is the generated report * * @generated from protobuf oneof: report */ report: { oneofKind: "flamegraph"; /** * flamegraph is a flamegraph representation of the report * * @generated from protobuf field: parca.query.v1alpha1.Flamegraph flamegraph = 5 */ flamegraph: Flamegraph; } | { oneofKind: "pprof"; /** * pprof is a pprof profile as compressed bytes * * @generated from protobuf field: bytes pprof = 6 */ pprof: Uint8Array; } | { oneofKind: "top"; /** * top is a top list representation of the report * * @generated from protobuf field: parca.query.v1alpha1.Top top = 7 */ top: Top; } | { oneofKind: "callgraph"; /** * callgraph is a callgraph nodes and edges representation of the report * * @generated from protobuf field: parca.query.v1alpha1.Callgraph callgraph = 8 */ callgraph: Callgraph; } | { oneofKind: "flamegraphArrow"; /** * flamegraph_arrow is a flamegraph encoded as a arrow record * * @generated from protobuf field: parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow = 11 */ flamegraphArrow: FlamegraphArrow; } | { oneofKind: "source"; /** * source is the source report type result * * @generated from protobuf field: parca.query.v1alpha1.Source source = 12 */ source: Source; } | { oneofKind: "tableArrow"; /** * table_arrow is a table encoded as a arrow record * * @generated from protobuf field: parca.query.v1alpha1.TableArrow table_arrow = 13 */ tableArrow: TableArrow; } | { oneofKind: "profileMetadata"; /** * profile_metadata contains metadata about the profile i.e. binaries, labels * * @generated from protobuf field: parca.query.v1alpha1.ProfileMetadata profile_metadata = 14 */ profileMetadata: ProfileMetadata; } | { oneofKind: undefined; }; /** * total is the total number of samples shown in the report. * * @generated from protobuf field: int64 total = 9 */ total: bigint; /** * filtered is the number of samples filtered out of the report. * * @generated from protobuf field: int64 filtered = 10 */ filtered: bigint; } /** * SeriesRequest is unimplemented * * @generated from protobuf message parca.query.v1alpha1.SeriesRequest */ export interface SeriesRequest { /** * match ... * * @generated from protobuf field: repeated string match = 1 */ match: string[]; /** * start ... * * @generated from protobuf field: google.protobuf.Timestamp start = 2 */ start?: Timestamp; /** * end ... * * @generated from protobuf field: google.protobuf.Timestamp end = 3 */ end?: Timestamp; } /** * SeriesResponse is unimplemented * * @generated from protobuf message parca.query.v1alpha1.SeriesResponse */ export interface SeriesResponse { } /** * LabelsRequest are the request values for labels * * @generated from protobuf message parca.query.v1alpha1.LabelsRequest */ export interface LabelsRequest { /** * match are the set of matching strings * * @generated from protobuf field: repeated string match = 1 */ match: string[]; /** * start is the start of the time window to perform the query * * @generated from protobuf field: google.protobuf.Timestamp start = 2 */ start?: Timestamp; /** * end is the end of the time window to perform the query * * @generated from protobuf field: google.protobuf.Timestamp end = 3 */ end?: Timestamp; /** * profile_type is the type of profile to filter by * * @generated from protobuf field: optional string profile_type = 4 */ profileType?: string; } /** * LabelsResponse is the set of matching label names * * @generated from protobuf message parca.query.v1alpha1.LabelsResponse */ export interface LabelsResponse { /** * / label_names are the set of matching label names * * @generated from protobuf field: repeated string label_names = 1 */ labelNames: string[]; /** * warnings is unimplemented * * @generated from protobuf field: repeated string warnings = 2 */ warnings: string[]; } /** * ValuesRequest are the request values for a values request * * @generated from protobuf message parca.query.v1alpha1.ValuesRequest */ export interface ValuesRequest { /** * label_name is the label name to match values against * * @generated from protobuf field: string label_name = 1 */ labelName: string; /** * match are the set of matching strings to match values against * * @generated from protobuf field: repeated string match = 2 */ match: string[]; /** * start is the start of the time window to perform the query * * @generated from protobuf field: google.protobuf.Timestamp start = 3 */ start?: Timestamp; /** * end is the end of the time window to perform the query * * @generated from protobuf field: google.protobuf.Timestamp end = 4 */ end?: Timestamp; /** * profile_type is the type of profile to filter by * * @generated from protobuf field: optional string profile_type = 5 */ profileType?: string; } /** * ValuesResponse are the set of matching values * * @generated from protobuf message parca.query.v1alpha1.ValuesResponse */ export interface ValuesResponse { /** * label_values are the set of matching label values * * @generated from protobuf field: repeated string label_values = 1 */ labelValues: string[]; /** * warnings is unimplemented * * @generated from protobuf field: repeated string warnings = 2 */ warnings: string[]; } /** * ValueType represents a value, including its type and unit * * @generated from protobuf message parca.query.v1alpha1.ValueType */ export interface ValueType { /** * type is the type of the value * * @generated from protobuf field: string type = 1 */ type: string; /** * unit is the unit of the value * * @generated from protobuf field: string unit = 2 */ unit: string; } /** * ShareProfileRequest represents the query denoting the profile and a description about the profile * * @generated from protobuf message parca.query.v1alpha1.ShareProfileRequest */ export interface ShareProfileRequest { /** * QueryRequest that refers to the profile to be shared * * @generated from protobuf field: parca.query.v1alpha1.QueryRequest query_request = 1 */ queryRequest?: QueryRequest; /** * description about the profile * * @generated from protobuf field: optional string description = 2 */ description?: string; } /** * ShareProfileResponse represents the shared link of a profile * * @generated from protobuf message parca.query.v1alpha1.ShareProfileResponse */ export interface ShareProfileResponse { /** * link to access the profile * * @generated from protobuf field: string link = 1 */ link: string; } /** * TableArrow has the table encoded as a arrow record * * @generated from protobuf message parca.query.v1alpha1.TableArrow */ export interface TableArrow { /** * record is the arrow record containing the actual table data * * @generated from protobuf field: bytes record = 1 */ record: Uint8Array; /** * unit is the unit represented by the flame graph * * @generated from protobuf field: string unit = 2 */ unit: string; } /** * ProfileMetadata contains metadata about the profile i.e. binaries, labels * * @generated from protobuf message parca.query.v1alpha1.ProfileMetadata */ export interface ProfileMetadata { /** * mapping_files is the list of binaries in the profile * * @generated from protobuf field: repeated string mapping_files = 1 */ mappingFiles: string[]; /** * labels is the list of labels in the profile * * @generated from protobuf field: repeated string labels = 2 */ labels: string[]; } /** * HasProfileDataRequest is the request to check if there is profile data in the store * * @generated from protobuf message parca.query.v1alpha1.HasProfileDataRequest */ export interface HasProfileDataRequest { } /** * HasProfileDataResponse is the response indicating whether there is profile data in the store * * @generated from protobuf message parca.query.v1alpha1.HasProfileDataResponse */ export interface HasProfileDataResponse { /** * has_data indicates whether there is profile data in the store * * @generated from protobuf field: bool has_data = 1 */ hasData: boolean; } declare class ProfileTypesRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ProfileTypesRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProfileTypesRequest): ProfileTypesRequest; internalBinaryWrite(message: ProfileTypesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ProfileTypesRequest */ export declare const ProfileTypesRequest: ProfileTypesRequest$Type; declare class ProfileTypesResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): ProfileTypesResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProfileTypesResponse): ProfileTypesResponse; internalBinaryWrite(message: ProfileTypesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ProfileTypesResponse */ export declare const ProfileTypesResponse: ProfileTypesResponse$Type; declare class ProfileType$Type extends MessageType { constructor(); create(value?: PartialMessage): ProfileType; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProfileType): ProfileType; internalBinaryWrite(message: ProfileType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ProfileType */ export declare const ProfileType: ProfileType$Type; declare class QueryRangeRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): QueryRangeRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryRangeRequest): QueryRangeRequest; internalBinaryWrite(message: QueryRangeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.QueryRangeRequest */ export declare const QueryRangeRequest: QueryRangeRequest$Type; declare class QueryRangeResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): QueryRangeResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryRangeResponse): QueryRangeResponse; internalBinaryWrite(message: QueryRangeResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.QueryRangeResponse */ export declare const QueryRangeResponse: QueryRangeResponse$Type; declare class MetricsSeries$Type extends MessageType { constructor(); create(value?: PartialMessage): MetricsSeries; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MetricsSeries): MetricsSeries; internalBinaryWrite(message: MetricsSeries, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.MetricsSeries */ export declare const MetricsSeries: MetricsSeries$Type; declare class MetricsSample$Type extends MessageType { constructor(); create(value?: PartialMessage): MetricsSample; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MetricsSample): MetricsSample; internalBinaryWrite(message: MetricsSample, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.MetricsSample */ export declare const MetricsSample: MetricsSample$Type; declare class MergeProfile$Type extends MessageType { constructor(); create(value?: PartialMessage): MergeProfile; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MergeProfile): MergeProfile; internalBinaryWrite(message: MergeProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.MergeProfile */ export declare const MergeProfile: MergeProfile$Type; declare class SingleProfile$Type extends MessageType { constructor(); create(value?: PartialMessage): SingleProfile; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SingleProfile): SingleProfile; internalBinaryWrite(message: SingleProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.SingleProfile */ export declare const SingleProfile: SingleProfile$Type; declare class DiffProfile$Type extends MessageType { constructor(); create(value?: PartialMessage): DiffProfile; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DiffProfile): DiffProfile; internalBinaryWrite(message: DiffProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.DiffProfile */ export declare const DiffProfile: DiffProfile$Type; declare class ProfileDiffSelection$Type extends MessageType { constructor(); create(value?: PartialMessage): ProfileDiffSelection; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProfileDiffSelection): ProfileDiffSelection; internalBinaryWrite(message: ProfileDiffSelection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ProfileDiffSelection */ export declare const ProfileDiffSelection: ProfileDiffSelection$Type; declare class QueryRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): QueryRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryRequest): QueryRequest; internalBinaryWrite(message: QueryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.QueryRequest */ export declare const QueryRequest: QueryRequest$Type; declare class FilterCriteria$Type extends MessageType { constructor(); create(value?: PartialMessage): FilterCriteria; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FilterCriteria): FilterCriteria; internalBinaryWrite(message: FilterCriteria, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FilterCriteria */ export declare const FilterCriteria: FilterCriteria$Type; declare class StringCondition$Type extends MessageType { constructor(); create(value?: PartialMessage): StringCondition; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StringCondition): StringCondition; internalBinaryWrite(message: StringCondition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.StringCondition */ export declare const StringCondition: StringCondition$Type; declare class NumberCondition$Type extends MessageType { constructor(); create(value?: PartialMessage): NumberCondition; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NumberCondition): NumberCondition; internalBinaryWrite(message: NumberCondition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.NumberCondition */ export declare const NumberCondition: NumberCondition$Type; declare class Filter$Type extends MessageType { constructor(); create(value?: PartialMessage): Filter; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Filter): Filter; internalBinaryWrite(message: Filter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.Filter */ export declare const Filter: Filter$Type; declare class StackFilter$Type extends MessageType { constructor(); create(value?: PartialMessage): StackFilter; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StackFilter): StackFilter; internalBinaryWrite(message: StackFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.StackFilter */ export declare const StackFilter: StackFilter$Type; declare class FunctionNameStackFilter$Type extends MessageType { constructor(); create(value?: PartialMessage): FunctionNameStackFilter; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FunctionNameStackFilter): FunctionNameStackFilter; internalBinaryWrite(message: FunctionNameStackFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FunctionNameStackFilter */ export declare const FunctionNameStackFilter: FunctionNameStackFilter$Type; declare class FrameFilter$Type extends MessageType { constructor(); create(value?: PartialMessage): FrameFilter; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FrameFilter): FrameFilter; internalBinaryWrite(message: FrameFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FrameFilter */ export declare const FrameFilter: FrameFilter$Type; declare class BinaryFrameFilter$Type extends MessageType { constructor(); create(value?: PartialMessage): BinaryFrameFilter; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BinaryFrameFilter): BinaryFrameFilter; internalBinaryWrite(message: BinaryFrameFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.BinaryFrameFilter */ export declare const BinaryFrameFilter: BinaryFrameFilter$Type; declare class RuntimeFilter$Type extends MessageType { constructor(); create(value?: PartialMessage): RuntimeFilter; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeFilter): RuntimeFilter; internalBinaryWrite(message: RuntimeFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.RuntimeFilter */ export declare const RuntimeFilter: RuntimeFilter$Type; declare class SourceReference$Type extends MessageType { constructor(); create(value?: PartialMessage): SourceReference; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceReference): SourceReference; internalBinaryWrite(message: SourceReference, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.SourceReference */ export declare const SourceReference: SourceReference$Type; declare class GroupBy$Type extends MessageType { constructor(); create(value?: PartialMessage): GroupBy; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GroupBy): GroupBy; internalBinaryWrite(message: GroupBy, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.GroupBy */ export declare const GroupBy: GroupBy$Type; declare class Top$Type extends MessageType { constructor(); create(value?: PartialMessage): Top; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Top): Top; internalBinaryWrite(message: Top, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.Top */ export declare const Top: Top$Type; declare class TopNode$Type extends MessageType { constructor(); create(value?: PartialMessage): TopNode; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TopNode): TopNode; internalBinaryWrite(message: TopNode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.TopNode */ export declare const TopNode: TopNode$Type; declare class TopNodeMeta$Type extends MessageType { constructor(); create(value?: PartialMessage): TopNodeMeta; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TopNodeMeta): TopNodeMeta; internalBinaryWrite(message: TopNodeMeta, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.TopNodeMeta */ export declare const TopNodeMeta: TopNodeMeta$Type; declare class Flamegraph$Type extends MessageType { constructor(); create(value?: PartialMessage): Flamegraph; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Flamegraph): Flamegraph; internalBinaryWrite(message: Flamegraph, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.Flamegraph */ export declare const Flamegraph: Flamegraph$Type; declare class FlamegraphArrow$Type extends MessageType { constructor(); create(value?: PartialMessage): FlamegraphArrow; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlamegraphArrow): FlamegraphArrow; internalBinaryWrite(message: FlamegraphArrow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FlamegraphArrow */ export declare const FlamegraphArrow: FlamegraphArrow$Type; declare class Source$Type extends MessageType { constructor(); create(value?: PartialMessage): Source; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Source): Source; internalBinaryWrite(message: Source, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.Source */ export declare const Source: Source$Type; declare class FlamegraphRootNode$Type extends MessageType { constructor(); create(value?: PartialMessage): FlamegraphRootNode; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlamegraphRootNode): FlamegraphRootNode; internalBinaryWrite(message: FlamegraphRootNode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FlamegraphRootNode */ export declare const FlamegraphRootNode: FlamegraphRootNode$Type; declare class FlamegraphNode$Type extends MessageType { constructor(); create(value?: PartialMessage): FlamegraphNode; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlamegraphNode): FlamegraphNode; internalBinaryWrite(message: FlamegraphNode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FlamegraphNode */ export declare const FlamegraphNode: FlamegraphNode$Type; declare class FlamegraphNodeMeta$Type extends MessageType { constructor(); create(value?: PartialMessage): FlamegraphNodeMeta; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlamegraphNodeMeta): FlamegraphNodeMeta; internalBinaryWrite(message: FlamegraphNodeMeta, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.FlamegraphNodeMeta */ export declare const FlamegraphNodeMeta: FlamegraphNodeMeta$Type; declare class CallgraphNode$Type extends MessageType { constructor(); create(value?: PartialMessage): CallgraphNode; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallgraphNode): CallgraphNode; internalBinaryWrite(message: CallgraphNode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.CallgraphNode */ export declare const CallgraphNode: CallgraphNode$Type; declare class CallgraphNodeMeta$Type extends MessageType { constructor(); create(value?: PartialMessage): CallgraphNodeMeta; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallgraphNodeMeta): CallgraphNodeMeta; internalBinaryWrite(message: CallgraphNodeMeta, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.CallgraphNodeMeta */ export declare const CallgraphNodeMeta: CallgraphNodeMeta$Type; declare class CallgraphEdge$Type extends MessageType { constructor(); create(value?: PartialMessage): CallgraphEdge; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallgraphEdge): CallgraphEdge; internalBinaryWrite(message: CallgraphEdge, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.CallgraphEdge */ export declare const CallgraphEdge: CallgraphEdge$Type; declare class Callgraph$Type extends MessageType { constructor(); create(value?: PartialMessage): Callgraph; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Callgraph): Callgraph; internalBinaryWrite(message: Callgraph, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.Callgraph */ export declare const Callgraph: Callgraph$Type; declare class QueryResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): QueryResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryResponse): QueryResponse; internalBinaryWrite(message: QueryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.QueryResponse */ export declare const QueryResponse: QueryResponse$Type; declare class SeriesRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): SeriesRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SeriesRequest): SeriesRequest; internalBinaryWrite(message: SeriesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.SeriesRequest */ export declare const SeriesRequest: SeriesRequest$Type; declare class SeriesResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): SeriesResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SeriesResponse): SeriesResponse; internalBinaryWrite(message: SeriesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.SeriesResponse */ export declare const SeriesResponse: SeriesResponse$Type; declare class LabelsRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): LabelsRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LabelsRequest): LabelsRequest; internalBinaryWrite(message: LabelsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.LabelsRequest */ export declare const LabelsRequest: LabelsRequest$Type; declare class LabelsResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): LabelsResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LabelsResponse): LabelsResponse; internalBinaryWrite(message: LabelsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.LabelsResponse */ export declare const LabelsResponse: LabelsResponse$Type; declare class ValuesRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ValuesRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValuesRequest): ValuesRequest; internalBinaryWrite(message: ValuesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ValuesRequest */ export declare const ValuesRequest: ValuesRequest$Type; declare class ValuesResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): ValuesResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValuesResponse): ValuesResponse; internalBinaryWrite(message: ValuesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ValuesResponse */ export declare const ValuesResponse: ValuesResponse$Type; declare class ValueType$Type extends MessageType { constructor(); create(value?: PartialMessage): ValueType; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValueType): ValueType; internalBinaryWrite(message: ValueType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ValueType */ export declare const ValueType: ValueType$Type; declare class ShareProfileRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ShareProfileRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ShareProfileRequest): ShareProfileRequest; internalBinaryWrite(message: ShareProfileRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ShareProfileRequest */ export declare const ShareProfileRequest: ShareProfileRequest$Type; declare class ShareProfileResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): ShareProfileResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ShareProfileResponse): ShareProfileResponse; internalBinaryWrite(message: ShareProfileResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ShareProfileResponse */ export declare const ShareProfileResponse: ShareProfileResponse$Type; declare class TableArrow$Type extends MessageType { constructor(); create(value?: PartialMessage): TableArrow; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableArrow): TableArrow; internalBinaryWrite(message: TableArrow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.TableArrow */ export declare const TableArrow: TableArrow$Type; declare class ProfileMetadata$Type extends MessageType { constructor(); create(value?: PartialMessage): ProfileMetadata; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProfileMetadata): ProfileMetadata; internalBinaryWrite(message: ProfileMetadata, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.ProfileMetadata */ export declare const ProfileMetadata: ProfileMetadata$Type; declare class HasProfileDataRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): HasProfileDataRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HasProfileDataRequest): HasProfileDataRequest; internalBinaryWrite(message: HasProfileDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.HasProfileDataRequest */ export declare const HasProfileDataRequest: HasProfileDataRequest$Type; declare class HasProfileDataResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): HasProfileDataResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HasProfileDataResponse): HasProfileDataResponse; internalBinaryWrite(message: HasProfileDataResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message parca.query.v1alpha1.HasProfileDataResponse */ export declare const HasProfileDataResponse: HasProfileDataResponse$Type; /** * @generated ServiceType for protobuf service parca.query.v1alpha1.QueryService */ export declare const QueryService: ServiceType; export {}; //# sourceMappingURL=query.d.ts.map