perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
211 lines • 12.6 kB
JavaScript
"use strict";
//
// Copyright (C) 2018 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.OneofOptionsSchema = exports.EnumValueDescriptorProtoSchema = exports.EnumDescriptorProtoSchema = exports.OneofDescriptorProtoSchema = exports.FieldDescriptorProto_LabelSchema = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_TypeSchema = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProtoSchema = exports.FieldOptionsSchema = exports.UninterpretedOption_NamePartSchema = exports.UninterpretedOptionSchema = exports.DescriptorProto_ReservedRangeSchema = exports.DescriptorProtoSchema = exports.FileDescriptorProtoSchema = exports.FileDescriptorSetSchema = exports.file_protos_perfetto_common_descriptor = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/common/descriptor.proto.
*/
exports.file_protos_perfetto_common_descriptor = (0, codegenv1_1.fileDesc)("Cidwcm90b3MvcGVyZmV0dG8vY29tbW9uL2Rlc2NyaXB0b3IucHJvdG8SD3BlcmZldHRvLnByb3RvcyJHChFGaWxlRGVzY3JpcHRvclNldBIyCgRmaWxlGAEgAygLMiQucGVyZmV0dG8ucHJvdG9zLkZpbGVEZXNjcmlwdG9yUHJvdG8ivwIKE0ZpbGVEZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRIPCgdwYWNrYWdlGAIgASgJEhIKCmRlcGVuZGVuY3kYAyADKAkSGQoRcHVibGljX2RlcGVuZGVuY3kYCiADKAUSFwoPd2Vha19kZ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Cg1UWVBFX1NGSVhFRDMyEA8SEQoNVFlQRV9TRklYRUQ2NBAQEg8KC1RZUEVfU0lOVDMyEBESDwoLVFlQRV9TSU5UNjQQEiJDCgVMYWJlbBISCg5MQUJFTF9PUFRJT05BTBABEhIKDkxBQkVMX1JFUVVJUkVEEAISEgoOTEFCRUxfUkVQRUFURUQQA0oECAoQCyJUChRPbmVvZkRlc2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJEi4KB29wdGlvbnMYAiABKAsyHS5wZXJmZXR0by5wcm90b3MuT25lb2ZPcHRpb25zIoABChNFbnVtRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSOAoFdmFsdWUYAiADKAsyKS5wZXJmZXR0by5wcm90b3MuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvEhUKDXJlc2VydmVkX25hbWUYBSADKAlKBAgDEARKBAgEEAUiPgoYRW51bVZhbHVlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDgoGbnVtYmVyGAIgASgFSgQIAxAEIiEKDE9uZW9mT3B0aW9ucyoJCOgHEICAgIACSgYI5wcQ6Ac");
/**
* Describes the message perfetto.protos.FileDescriptorSet.
* Use `create(FileDescriptorSetSchema)` to create a new message.
*/
exports.FileDescriptorSetSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 0);
/**
* Describes the message perfetto.protos.FileDescriptorProto.
* Use `create(FileDescriptorProtoSchema)` to create a new message.
*/
exports.FileDescriptorProtoSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 1);
/**
* Describes the message perfetto.protos.DescriptorProto.
* Use `create(DescriptorProtoSchema)` to create a new message.
*/
exports.DescriptorProtoSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 2);
/**
* Describes the message perfetto.protos.DescriptorProto.ReservedRange.
* Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message.
*/
exports.DescriptorProto_ReservedRangeSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 2, 0);
/**
* Describes the message perfetto.protos.UninterpretedOption.
* Use `create(UninterpretedOptionSchema)` to create a new message.
*/
exports.UninterpretedOptionSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 3);
/**
* Describes the message perfetto.protos.UninterpretedOption.NamePart.
* Use `create(UninterpretedOption_NamePartSchema)` to create a new message.
*/
exports.UninterpretedOption_NamePartSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 3, 0);
/**
* Describes the message perfetto.protos.FieldOptions.
* Use `create(FieldOptionsSchema)` to create a new message.
*/
exports.FieldOptionsSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 4);
/**
* Describes the message perfetto.protos.FieldDescriptorProto.
* Use `create(FieldDescriptorProtoSchema)` to create a new message.
*/
exports.FieldDescriptorProtoSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 5);
/**
* @generated from enum perfetto.protos.FieldDescriptorProto.Type
*/
var FieldDescriptorProto_Type;
(function (FieldDescriptorProto_Type) {
/**
* 0 is reserved for errors.
* Order is weird for historical reasons.
*
* @generated from enum value: TYPE_DOUBLE = 1;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE";
/**
* @generated from enum value: TYPE_FLOAT = 2;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["FLOAT"] = 2] = "FLOAT";
/**
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
* negative values are likely.
*
* @generated from enum value: TYPE_INT64 = 3;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64";
/**
* @generated from enum value: TYPE_UINT64 = 4;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT64"] = 4] = "UINT64";
/**
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
* negative values are likely.
*
* @generated from enum value: TYPE_INT32 = 5;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32";
/**
* @generated from enum value: TYPE_FIXED64 = 6;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED64"] = 6] = "FIXED64";
/**
* @generated from enum value: TYPE_FIXED32 = 7;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED32"] = 7] = "FIXED32";
/**
* @generated from enum value: TYPE_BOOL = 8;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["BOOL"] = 8] = "BOOL";
/**
* @generated from enum value: TYPE_STRING = 9;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["STRING"] = 9] = "STRING";
/**
* Tag-delimited aggregate.
* Group type is deprecated and not supported in proto3. However, Proto3
* implementations should still be able to parse the group wire format and
* treat group fields as unknown fields.
*
* @generated from enum value: TYPE_GROUP = 10;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP";
/**
* Length-delimited aggregate.
*
* @generated from enum value: TYPE_MESSAGE = 11;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["MESSAGE"] = 11] = "MESSAGE";
/**
* New in version 2.
*
* @generated from enum value: TYPE_BYTES = 12;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES";
/**
* @generated from enum value: TYPE_UINT32 = 13;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT32"] = 13] = "UINT32";
/**
* @generated from enum value: TYPE_ENUM = 14;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["ENUM"] = 14] = "ENUM";
/**
* @generated from enum value: TYPE_SFIXED32 = 15;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED32"] = 15] = "SFIXED32";
/**
* @generated from enum value: TYPE_SFIXED64 = 16;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED64"] = 16] = "SFIXED64";
/**
* Uses ZigZag encoding.
*
* @generated from enum value: TYPE_SINT32 = 17;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT32"] = 17] = "SINT32";
/**
* Uses ZigZag encoding.
*
* @generated from enum value: TYPE_SINT64 = 18;
*/
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64";
})(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {}));
/**
* Describes the enum perfetto.protos.FieldDescriptorProto.Type.
*/
exports.FieldDescriptorProto_TypeSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_common_descriptor, 5, 0);
/**
* @generated from enum perfetto.protos.FieldDescriptorProto.Label
*/
var FieldDescriptorProto_Label;
(function (FieldDescriptorProto_Label) {
/**
* 0 is reserved for errors
*
* @generated from enum value: LABEL_OPTIONAL = 1;
*/
FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL";
/**
* @generated from enum value: LABEL_REQUIRED = 2;
*/
FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED";
/**
* @generated from enum value: LABEL_REPEATED = 3;
*/
FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED";
})(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {}));
/**
* Describes the enum perfetto.protos.FieldDescriptorProto.Label.
*/
exports.FieldDescriptorProto_LabelSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_common_descriptor, 5, 1);
/**
* Describes the message perfetto.protos.OneofDescriptorProto.
* Use `create(OneofDescriptorProtoSchema)` to create a new message.
*/
exports.OneofDescriptorProtoSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 6);
/**
* Describes the message perfetto.protos.EnumDescriptorProto.
* Use `create(EnumDescriptorProtoSchema)` to create a new message.
*/
exports.EnumDescriptorProtoSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 7);
/**
* Describes the message perfetto.protos.EnumValueDescriptorProto.
* Use `create(EnumValueDescriptorProtoSchema)` to create a new message.
*/
exports.EnumValueDescriptorProtoSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 8);
/**
* Describes the message perfetto.protos.OneofOptions.
* Use `create(OneofOptionsSchema)` to create a new message.
*/
exports.OneofOptionsSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_descriptor, 9);
//# sourceMappingURL=descriptor_pb.js.map