perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
60 lines • 3.78 kB
JavaScript
;
//
// Copyright (C) 2022 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.TrafficDirectionSchema = exports.TrafficDirection = exports.NetworkPacketContextSchema = exports.NetworkPacketBundleSchema = exports.NetworkPacketEventSchema = exports.file_protos_perfetto_trace_android_network_trace = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/trace/android/network_trace.proto.
*/
exports.file_protos_perfetto_trace_android_network_trace = (0, codegenv1_1.fileDesc)("CjFwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9uZXR3b3JrX3RyYWNlLnByb3RvEg9wZXJmZXR0by5wcm90b3Mi+wEKEk5ldHdvcmtQYWNrZXRFdmVudBI0CglkaXJlY3Rpb24YASABKA4yIS5wZXJmZXR0by5wcm90b3MuVHJhZmZpY0RpcmVjdGlvbhIRCglpbnRlcmZhY2UYAiABKAkSDgoGbGVuZ3RoGAMgASgNEgsKA3VpZBgEIAEoDRILCgN0YWcYBSABKA0SEAoIaXBfcHJvdG8YBiABKA0SEQoJdGNwX2ZsYWdzGAcgASgNEhIKCmxvY2FsX3BvcnQYCCABKA0SEwoLcmVtb3RlX3BvcnQYCSABKA0SEQoJaWNtcF90eXBlGAogASgNEhEKCWljbXBfY29kZRgLIAEoDSLqAQoTTmV0d29ya1BhY2tldEJ1bmRsZRINCgNpaWQYASABKARIABIyCgNjdHgYAiABKAsyIy5wZXJmZXR0by5wcm90b3MuTmV0d29ya1BhY2tldEV2ZW50SAASHQoRcGFja2V0X3RpbWVzdGFtcHMYAyADKARCAhABEhoKDnBhY2tldF9sZW5ndGhzGAQgAygNQgIQARIVCg10b3RhbF9wYWNrZXRzGAUgASgNEhYKDnRvdGFsX2R1cmF0aW9uGAYgASgEEhQKDHRvdGFsX2xlbmd0aBgHIAEoBEIQCg5wYWNrZXRfY29udGV4dCJVChROZXR3b3JrUGFja2V0Q29udGV4dBILCgNpaWQYASABKAQSMAoDY3R4GAIgASgLMiMucGVyZmV0dG8ucHJvdG9zLk5ldHdvcmtQYWNrZXRFdmVudCpIChBUcmFmZmljRGlyZWN0aW9uEhMKD0RJUl9VTlNQRUNJRklFRBAAEg8KC0RJUl9JTkdSRVNTEAESDgoKRElSX0VHUkVTUxAC");
/**
* Describes the message perfetto.protos.NetworkPacketEvent.
* Use `create(NetworkPacketEventSchema)` to create a new message.
*/
exports.NetworkPacketEventSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_android_network_trace, 0);
/**
* Describes the message perfetto.protos.NetworkPacketBundle.
* Use `create(NetworkPacketBundleSchema)` to create a new message.
*/
exports.NetworkPacketBundleSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_android_network_trace, 1);
/**
* Describes the message perfetto.protos.NetworkPacketContext.
* Use `create(NetworkPacketContextSchema)` to create a new message.
*/
exports.NetworkPacketContextSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_android_network_trace, 2);
/**
* @generated from enum perfetto.protos.TrafficDirection
*/
var TrafficDirection;
(function (TrafficDirection) {
/**
* @generated from enum value: DIR_UNSPECIFIED = 0;
*/
TrafficDirection[TrafficDirection["DIR_UNSPECIFIED"] = 0] = "DIR_UNSPECIFIED";
/**
* @generated from enum value: DIR_INGRESS = 1;
*/
TrafficDirection[TrafficDirection["DIR_INGRESS"] = 1] = "DIR_INGRESS";
/**
* @generated from enum value: DIR_EGRESS = 2;
*/
TrafficDirection[TrafficDirection["DIR_EGRESS"] = 2] = "DIR_EGRESS";
})(TrafficDirection || (exports.TrafficDirection = TrafficDirection = {}));
/**
* Describes the enum perfetto.protos.TrafficDirection.
*/
exports.TrafficDirectionSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_android_network_trace, 0);
//# sourceMappingURL=network_trace_pb.js.map