UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

70 lines 2.54 kB
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1"; import type { QueryResult } from "../trace_processor/trace_processor_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/bigtrace/worker.proto. */ export declare const file_protos_perfetto_bigtrace_worker: GenFile; /** * Request/Response for QueryTrace. * * @generated from message perfetto.protos.BigtraceQueryTraceArgs */ export type BigtraceQueryTraceArgs = Message<"perfetto.protos.BigtraceQueryTraceArgs"> & { /** * @generated from field: optional string trace = 1; */ trace?: string; /** * @generated from field: optional string sql_query = 2; */ sqlQuery?: string; }; /** * Describes the message perfetto.protos.BigtraceQueryTraceArgs. * Use `create(BigtraceQueryTraceArgsSchema)` to create a new message. */ export declare const BigtraceQueryTraceArgsSchema: GenMessage<BigtraceQueryTraceArgs>; /** * @generated from message perfetto.protos.BigtraceQueryTraceResponse */ export type BigtraceQueryTraceResponse = Message<"perfetto.protos.BigtraceQueryTraceResponse"> & { /** * @generated from field: optional string trace = 1; */ trace?: string; /** * @generated from field: repeated perfetto.protos.QueryResult result = 2; */ result: QueryResult[]; }; /** * Describes the message perfetto.protos.BigtraceQueryTraceResponse. * Use `create(BigtraceQueryTraceResponseSchema)` to create a new message. */ export declare const BigtraceQueryTraceResponseSchema: GenMessage<BigtraceQueryTraceResponse>; /** * gRPC Interface for a Bigtrace Worker * * Workers are owned by an "Orchestrator" which forward traces from requests by * end users. Workers are responsible for loading the traces with * TraceProcessor and executing the requests. * * @generated from service perfetto.protos.BigtraceWorker */ export declare const BigtraceWorker: GenService<{ /** * Executes a SQL query on the specified trace and returns a stream of * execution responses. Note that this method returns a stream because each * trace can return >1 result due to chunking of protos at the * TraceProcessor::QueryResult level. * * @generated from rpc perfetto.protos.BigtraceWorker.QueryTrace */ queryTrace: { methodKind: "unary"; input: typeof BigtraceQueryTraceArgsSchema; output: typeof BigtraceQueryTraceResponseSchema; }; }>; //# sourceMappingURL=worker_pb.d.ts.map