perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
80 lines (70 loc) • 3.11 kB
text/typescript
//
// Copyright 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/trace/android/pixel_modem_events.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/pixel_modem_events.proto.
*/
export const file_protos_perfetto_trace_android_pixel_modem_events: GenFile = /*@__PURE__*/
fileDesc("CjZwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9waXhlbF9tb2RlbV9ldmVudHMucHJvdG8SD3BlcmZldHRvLnByb3RvcyI8ChBQaXhlbE1vZGVtRXZlbnRzEg4KBmV2ZW50cxgBIAMoDBIYChBldmVudF90aW1lX25hbm9zGAIgAygEIisKF1BpeGVsTW9kZW1Ub2tlbkRhdGFiYXNlEhAKCGRhdGFiYXNlGAEgASgM");
/**
* @generated from message perfetto.protos.PixelModemEvents
*/
export type PixelModemEvents = Message<"perfetto.protos.PixelModemEvents"> & {
/**
* Pigweed-format dehydrated events.
*
* @generated from field: repeated bytes events = 1;
*/
events: Uint8Array[];
/**
* Timestamps of the events, converted to CLOCK_BOOTTIME. The first
* timestamp is the absolute timestamp of the first event. Subsequent
* timestamps are deltas from the previous timestamp.
* The nth entry from `events` gets the nth entry here.
*
* @generated from field: repeated uint64 event_time_nanos = 2;
*/
eventTimeNanos: bigint[];
};
/**
* Describes the message perfetto.protos.PixelModemEvents.
* Use `create(PixelModemEventsSchema)` to create a new message.
*/
export const PixelModemEventsSchema: GenMessage<PixelModemEvents> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_pixel_modem_events, 0);
/**
* NB: this is not emitted in the trace but can be prepended later.
*
* @generated from message perfetto.protos.PixelModemTokenDatabase
*/
export type PixelModemTokenDatabase = Message<"perfetto.protos.PixelModemTokenDatabase"> & {
/**
* Pigweed-format database to allow event rehydration.
*
* @generated from field: optional bytes database = 1;
*/
database: Uint8Array;
};
/**
* Describes the message perfetto.protos.PixelModemTokenDatabase.
* Use `create(PixelModemTokenDatabaseSchema)` to create a new message.
*/
export const PixelModemTokenDatabaseSchema: GenMessage<PixelModemTokenDatabase> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_pixel_modem_events, 1);