UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

83 lines 4.23 kB
"use strict"; // // Copyright (C) 2016 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. Object.defineProperty(exports, "__esModule", { value: true }); exports.msg_privacy = exports.privacy = exports.DestinationSchema = exports.Destination = exports.PrivacyFlagsSchema = exports.file_protos_perfetto_trace_android_privacy = void 0; const codegenv1_1 = require("@bufbuild/protobuf/codegenv1"); const wkt_1 = require("@bufbuild/protobuf/wkt"); /** * Describes the file protos/perfetto/trace/android/privacy.proto. */ exports.file_protos_perfetto_trace_android_privacy = (0, codegenv1_1.fileDesc)("Citwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9wcml2YWN5LnByb3RvEg9wZXJmZXR0by5wcm90b3MiWAoMUHJpdmFjeUZsYWdzEjYKBGRlc3QYASABKA4yHC5wZXJmZXR0by5wcm90b3MuRGVzdGluYXRpb246CkRFU1RfVU5TRVQSEAoIcGF0dGVybnMYAiADKAkqVgoLRGVzdGluYXRpb24SDgoKREVTVF9MT0NBTBAAEhEKDURFU1RfRVhQTElDSVQQZBITCg5ERVNUX0FVVE9NQVRJQxDIARIPCgpERVNUX1VOU0VUEP8BOlkKB3ByaXZhY3kSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGPPT+jAgASgLMh0ucGVyZmV0dG8ucHJvdG9zLlByaXZhY3lGbGFnc1IHcHJpdmFjeTpiCgttc2dfcHJpdmFjeRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxjz0/owIAEoCzIdLnBlcmZldHRvLnByb3Rvcy5Qcml2YWN5RmxhZ3NSCm1zZ1ByaXZhY3k", [wkt_1.file_google_protobuf_descriptor]); /** * Describes the message perfetto.protos.PrivacyFlags. * Use `create(PrivacyFlagsSchema)` to create a new message. */ exports.PrivacyFlagsSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_android_privacy, 0); /** * @generated from enum perfetto.protos.Destination */ var Destination; (function (Destination) { /** * Fields or messages annotated with DEST_LOCAL must never be * extracted from the device automatically. They can be accessed * by tools on the developer's workstation or test lab devices. * * @generated from enum value: DEST_LOCAL = 0; */ Destination[Destination["DEST_LOCAL"] = 0] = "DEST_LOCAL"; /** * Fields or messages annotated with DEST_EXPLICIT can be sent * off the device with an explicit user action. * * @generated from enum value: DEST_EXPLICIT = 100; */ Destination[Destination["DEST_EXPLICIT"] = 100] = "DEST_EXPLICIT"; /** * Fields or messages annotated with DEST_AUTOMATIC can be sent by * automatic means, without per-sending user consent. The user * still must have previously accepted a consent to share this * information. * * @generated from enum value: DEST_AUTOMATIC = 200; */ Destination[Destination["DEST_AUTOMATIC"] = 200] = "DEST_AUTOMATIC"; /** * This is the default value, which could be overridden by other values. * The reason to pick 255 is it fits into one byte. UNSET fields are treated * as EXPLICIT. * * @generated from enum value: DEST_UNSET = 255; */ Destination[Destination["DEST_UNSET"] = 255] = "DEST_UNSET"; })(Destination || (exports.Destination = Destination = {})); /** * Describes the enum perfetto.protos.Destination. */ exports.DestinationSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_android_privacy, 0); /** * Flags used to annotate a field with right privacy level. * * @generated from extension: optional perfetto.protos.PrivacyFlags privacy = 102672883; */ exports.privacy = (0, codegenv1_1.extDesc)(exports.file_protos_perfetto_trace_android_privacy, 0); /** * Flags used to annotate a message which all its unset primitive fields inhert this tag. * * @generated from extension: optional perfetto.protos.PrivacyFlags msg_privacy = 102672883; */ exports.msg_privacy = (0, codegenv1_1.extDesc)(exports.file_protos_perfetto_trace_android_privacy, 1); //# sourceMappingURL=privacy_pb.js.map