perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
98 lines (83 loc) • 3.42 kB
text/typescript
//
// Copyright (C) 2019 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/packages_list.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/packages_list.proto.
*/
export const file_protos_perfetto_trace_android_packages_list: GenFile = /*@__PURE__*/
fileDesc("CjFwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9wYWNrYWdlc19saXN0LnByb3RvEg9wZXJmZXR0by5wcm90b3Mi6AEKDFBhY2thZ2VzTGlzdBI7CghwYWNrYWdlcxgBIAMoCzIpLnBlcmZldHRvLnByb3Rvcy5QYWNrYWdlc0xpc3QuUGFja2FnZUluZm8SEwoLcGFyc2VfZXJyb3IYAiABKAgSEgoKcmVhZF9lcnJvchgDIAEoCBpyCgtQYWNrYWdlSW5mbxIMCgRuYW1lGAEgASgJEgsKA3VpZBgCIAEoBBISCgpkZWJ1Z2dhYmxlGAMgASgIEh4KFnByb2ZpbGVhYmxlX2Zyb21fc2hlbGwYBCABKAgSFAoMdmVyc2lvbl9jb2RlGAUgASgD");
/**
* @generated from message perfetto.protos.PackagesList
*/
export type PackagesList = Message<"perfetto.protos.PackagesList"> & {
/**
* @generated from field: repeated perfetto.protos.PackagesList.PackageInfo packages = 1;
*/
packages: PackagesList_PackageInfo[];
/**
* At least one error occurred parsing the packages.list.
*
* @generated from field: optional bool parse_error = 2;
*/
parseError: boolean;
/**
* Failed to open / read packages.list.
*
* @generated from field: optional bool read_error = 3;
*/
readError: boolean;
};
/**
* Describes the message perfetto.protos.PackagesList.
* Use `create(PackagesListSchema)` to create a new message.
*/
export const PackagesListSchema: GenMessage<PackagesList> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_packages_list, 0);
/**
* @generated from message perfetto.protos.PackagesList.PackageInfo
*/
export type PackagesList_PackageInfo = Message<"perfetto.protos.PackagesList.PackageInfo"> & {
/**
* @generated from field: optional string name = 1;
*/
name: string;
/**
* @generated from field: optional uint64 uid = 2;
*/
uid: bigint;
/**
* @generated from field: optional bool debuggable = 3;
*/
debuggable: boolean;
/**
* @generated from field: optional bool profileable_from_shell = 4;
*/
profileableFromShell: boolean;
/**
* @generated from field: optional int64 version_code = 5;
*/
versionCode: bigint;
};
/**
* Describes the message perfetto.protos.PackagesList.PackageInfo.
* Use `create(PackagesList_PackageInfoSchema)` to create a new message.
*/
export const PackagesList_PackageInfoSchema: GenMessage<PackagesList_PackageInfo> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_packages_list, 0, 0);