//
// Copyright (C) 2020 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/extension_descriptor.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { FileDescriptorSet } from "../common/descriptor_pb";
import { file_protos_perfetto_common_descriptor } from "../common/descriptor_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/extension_descriptor.proto.
 */
export const file_protos_perfetto_trace_extension_descriptor: GenFile = /*@__PURE__*/
  fileDesc("CjBwcm90b3MvcGVyZmV0dG8vdHJhY2UvZXh0ZW5zaW9uX2Rlc2NyaXB0b3IucHJvdG8SD3BlcmZldHRvLnByb3RvcyJQChNFeHRlbnNpb25EZXNjcmlwdG9yEjkKDWV4dGVuc2lvbl9zZXQYASABKAsyIi5wZXJmZXR0by5wcm90b3MuRmlsZURlc2NyaXB0b3JTZXQ", [file_protos_perfetto_common_descriptor]);

/**
 * This message contains descriptors used to parse extension fields of
 * TrackEvent.
 *
 * See docs/design-docs/extensions.md for more details.
 *
 * @generated from message perfetto.protos.ExtensionDescriptor
 */
export type ExtensionDescriptor = Message<"perfetto.protos.ExtensionDescriptor"> & {
  /**
   * @generated from field: optional perfetto.protos.FileDescriptorSet extension_set = 1;
   */
  extensionSet?: FileDescriptorSet;
};

/**
 * Describes the message perfetto.protos.ExtensionDescriptor.
 * Use `create(ExtensionDescriptorSchema)` to create a new message.
 */
export const ExtensionDescriptorSchema: GenMessage<ExtensionDescriptor> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_extension_descriptor, 0);

