perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
134 lines (113 loc) • 4.08 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/track_event/log_message.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/track_event/log_message.proto.
*/
export const file_protos_perfetto_trace_track_event_log_message: GenFile = /*@__PURE__*/
fileDesc("CjNwcm90b3MvcGVyZmV0dG8vdHJhY2UvdHJhY2tfZXZlbnQvbG9nX21lc3NhZ2UucHJvdG8SD3BlcmZldHRvLnByb3RvcyKDAgoKTG9nTWVzc2FnZRIbChNzb3VyY2VfbG9jYXRpb25faWlkGAEgASgEEhAKCGJvZHlfaWlkGAIgASgEEjIKBHByaW8YAyABKA4yJC5wZXJmZXR0by5wcm90b3MuTG9nTWVzc2FnZS5Qcmlvcml0eSKRAQoIUHJpb3JpdHkSFAoQUFJJT19VTlNQRUNJRklFRBAAEg8KC1BSSU9fVU5VU0VEEAESEAoMUFJJT19WRVJCT1NFEAISDgoKUFJJT19ERUJVRxADEg0KCVBSSU9fSU5GTxAEEg0KCVBSSU9fV0FSThAFEg4KClBSSU9fRVJST1IQBhIOCgpQUklPX0ZBVEFMEAciKwoOTG9nTWVzc2FnZUJvZHkSCwoDaWlkGAEgASgEEgwKBGJvZHkYAiABKAk");
/**
* @generated from message perfetto.protos.LogMessage
*/
export type LogMessage = Message<"perfetto.protos.LogMessage"> & {
/**
* interned SourceLocation.
*
* @generated from field: optional uint64 source_location_iid = 1;
*/
sourceLocationIid: bigint;
/**
* interned LogMessageBody.
*
* @generated from field: optional uint64 body_iid = 2;
*/
bodyIid: bigint;
/**
* @generated from field: optional perfetto.protos.LogMessage.Priority prio = 3;
*/
prio: LogMessage_Priority;
};
/**
* Describes the message perfetto.protos.LogMessage.
* Use `create(LogMessageSchema)` to create a new message.
*/
export const LogMessageSchema: GenMessage<LogMessage> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_track_event_log_message, 0);
/**
* @generated from enum perfetto.protos.LogMessage.Priority
*/
export enum LogMessage_Priority {
/**
* @generated from enum value: PRIO_UNSPECIFIED = 0;
*/
PRIO_UNSPECIFIED = 0,
/**
* @generated from enum value: PRIO_UNUSED = 1;
*/
PRIO_UNUSED = 1,
/**
* @generated from enum value: PRIO_VERBOSE = 2;
*/
PRIO_VERBOSE = 2,
/**
* @generated from enum value: PRIO_DEBUG = 3;
*/
PRIO_DEBUG = 3,
/**
* @generated from enum value: PRIO_INFO = 4;
*/
PRIO_INFO = 4,
/**
* @generated from enum value: PRIO_WARN = 5;
*/
PRIO_WARN = 5,
/**
* @generated from enum value: PRIO_ERROR = 6;
*/
PRIO_ERROR = 6,
/**
* @generated from enum value: PRIO_FATAL = 7;
*/
PRIO_FATAL = 7,
}
/**
* Describes the enum perfetto.protos.LogMessage.Priority.
*/
export const LogMessage_PrioritySchema: GenEnum<LogMessage_Priority> = /*@__PURE__*/
enumDesc(file_protos_perfetto_trace_track_event_log_message, 0, 0);
/**
* @generated from message perfetto.protos.LogMessageBody
*/
export type LogMessageBody = Message<"perfetto.protos.LogMessageBody"> & {
/**
* @generated from field: optional uint64 iid = 1;
*/
iid: bigint;
/**
* @generated from field: optional string body = 2;
*/
body: string;
};
/**
* Describes the message perfetto.protos.LogMessageBody.
* Use `create(LogMessageBodySchema)` to create a new message.
*/
export const LogMessageBodySchema: GenMessage<LogMessageBody> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_track_event_log_message, 1);