perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
99 lines • 6.4 kB
JavaScript
"use strict";
//
// 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.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ObservableEvents_DataSourceInstanceStateSchema = exports.ObservableEvents_DataSourceInstanceState = exports.ObservableEvents_TypeSchema = exports.ObservableEvents_Type = exports.ObservableEvents_CloneTriggerHitSchema = exports.ObservableEvents_DataSourceInstanceStateChangeSchema = exports.ObservableEventsSchema = exports.file_protos_perfetto_common_observable_events = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/common/observable_events.proto.
*/
exports.file_protos_perfetto_common_observable_events = (0, codegenv1_1.fileDesc)("Ci5wcm90b3MvcGVyZmV0dG8vY29tbW9uL29ic2VydmFibGVfZXZlbnRzLnByb3RvEg9wZXJmZXR0by5wcm90b3Mi8gUKEE9ic2VydmFibGVFdmVudHMSXwoWaW5zdGFuY2Vfc3RhdGVfY2hhbmdlcxgBIAMoCzI/LnBlcmZldHRvLnByb3Rvcy5PYnNlcnZhYmxlRXZlbnRzLkRhdGFTb3VyY2VJbnN0YW5jZVN0YXRlQ2hhbmdlEiAKGGFsbF9kYXRhX3NvdXJjZXNfc3RhcnRlZBgCIAEoCBJMChFjbG9uZV90cmlnZ2VyX2hpdBgDIAEoCzIxLnBlcmZldHRvLnByb3Rvcy5PYnNlcnZhYmxlRXZlbnRzLkNsb25lVHJpZ2dlckhpdBqaAQodRGF0YVNvdXJjZUluc3RhbmNlU3RhdGVDaGFuZ2USFQoNcHJvZHVjZXJfbmFtZRgBIAEoCRIYChBkYXRhX3NvdXJjZV9uYW1lGAIgASgJEkgKBXN0YXRlGAMgASgOMjkucGVyZmV0dG8ucHJvdG9zLk9ic2VydmFibGVFdmVudHMuRGF0YVNvdXJjZUluc3RhbmNlU3RhdGUahgEKD0Nsb25lVHJpZ2dlckhpdBIaChJ0cmFjaW5nX3Nlc3Npb25faWQYASABKAMSFAoMdHJpZ2dlcl9uYW1lGAIgASgJEhUKDXByb2R1Y2VyX25hbWUYAyABKAkSFAoMcHJvZHVjZXJfdWlkGAQgASgNEhQKDGJvb3RfdGltZV9ucxgFIAEoBCJ8CgRUeXBlEhQKEFRZUEVfVU5TUEVDSUZJRUQQABIfChtUWVBFX0RBVEFfU09VUkNFU19JTlNUQU5DRVMQARIhCh1UWVBFX0FMTF9EQVRBX1NPVVJDRVNfU1RBUlRFRBACEhoKFlRZUEVfQ0xPTkVfVFJJR0dFUl9ISVQQBCJpChdEYXRhU291cmNlSW5zdGFuY2VTdGF0ZRImCiJEQVRBX1NPVVJDRV9JTlNUQU5DRV9TVEFURV9TVE9QUEVEEAESJgoiREFUQV9TT1VSQ0VfSU5TVEFOQ0VfU1RBVEVfU1RBUlRFRBAC");
/**
* Describes the message perfetto.protos.ObservableEvents.
* Use `create(ObservableEventsSchema)` to create a new message.
*/
exports.ObservableEventsSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_observable_events, 0);
/**
* Describes the message perfetto.protos.ObservableEvents.DataSourceInstanceStateChange.
* Use `create(ObservableEvents_DataSourceInstanceStateChangeSchema)` to create a new message.
*/
exports.ObservableEvents_DataSourceInstanceStateChangeSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_observable_events, 0, 0);
/**
* Describes the message perfetto.protos.ObservableEvents.CloneTriggerHit.
* Use `create(ObservableEvents_CloneTriggerHitSchema)` to create a new message.
*/
exports.ObservableEvents_CloneTriggerHitSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_observable_events, 0, 1);
/**
* @generated from enum perfetto.protos.ObservableEvents.Type
*/
var ObservableEvents_Type;
(function (ObservableEvents_Type) {
/**
* @generated from enum value: TYPE_UNSPECIFIED = 0;
*/
ObservableEvents_Type[ObservableEvents_Type["UNSPECIFIED"] = 0] = "UNSPECIFIED";
/**
* State changes of data source instances associated with the consumer's
* session. Note that not all data sources may support these notifications.
* See |will_notify_on_start/stop| in DataSourceDescriptor.
*
* @generated from enum value: TYPE_DATA_SOURCES_INSTANCES = 1;
*/
ObservableEvents_Type[ObservableEvents_Type["DATA_SOURCES_INSTANCES"] = 1] = "DATA_SOURCES_INSTANCES";
/**
* State change triggered when all data sources are in the STARTED state.
* For data sources that registered with |will_notify_on_start| this happens
* only after the data source has acked the start. This allows the consumer
* to synchronize with the data sources and to perform actions (e.g. start a
* test binary) only after trace recording is actually started.
* Introduced in Android 11 (R).
*
* @generated from enum value: TYPE_ALL_DATA_SOURCES_STARTED = 2;
*/
ObservableEvents_Type[ObservableEvents_Type["ALL_DATA_SOURCES_STARTED"] = 2] = "ALL_DATA_SOURCES_STARTED";
/**
* When a tracing session has one or more triggers of type CLONE_SNAPSHOT
* and a matching trigger is hit, the service will send this notification to
* the consumer after |stop_delay_ms|.
*
* @generated from enum value: TYPE_CLONE_TRIGGER_HIT = 4;
*/
ObservableEvents_Type[ObservableEvents_Type["CLONE_TRIGGER_HIT"] = 4] = "CLONE_TRIGGER_HIT";
})(ObservableEvents_Type || (exports.ObservableEvents_Type = ObservableEvents_Type = {}));
/**
* Describes the enum perfetto.protos.ObservableEvents.Type.
*/
exports.ObservableEvents_TypeSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_common_observable_events, 0, 0);
/**
* @generated from enum perfetto.protos.ObservableEvents.DataSourceInstanceState
*/
var ObservableEvents_DataSourceInstanceState;
(function (ObservableEvents_DataSourceInstanceState) {
/**
* A data source is created in stopped state.
*
* @generated from enum value: DATA_SOURCE_INSTANCE_STATE_STOPPED = 1;
*/
ObservableEvents_DataSourceInstanceState[ObservableEvents_DataSourceInstanceState["STOPPED"] = 1] = "STOPPED";
/**
* @generated from enum value: DATA_SOURCE_INSTANCE_STATE_STARTED = 2;
*/
ObservableEvents_DataSourceInstanceState[ObservableEvents_DataSourceInstanceState["STARTED"] = 2] = "STARTED";
})(ObservableEvents_DataSourceInstanceState || (exports.ObservableEvents_DataSourceInstanceState = ObservableEvents_DataSourceInstanceState = {}));
/**
* Describes the enum perfetto.protos.ObservableEvents.DataSourceInstanceState.
*/
exports.ObservableEvents_DataSourceInstanceStateSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_common_observable_events, 0, 1);
//# sourceMappingURL=observable_events_pb.js.map