//
// 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/chrome_keyed_service.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 { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/track_event/chrome_keyed_service.proto.
 */
export const file_protos_perfetto_trace_track_event_chrome_keyed_service: GenFile = /*@__PURE__*/
  fileDesc("Cjxwcm90b3MvcGVyZmV0dG8vdHJhY2UvdHJhY2tfZXZlbnQvY2hyb21lX2tleWVkX3NlcnZpY2UucHJvdG8SD3BlcmZldHRvLnByb3RvcyIiChJDaHJvbWVLZXllZFNlcnZpY2USDAoEbmFtZRgBIAEoCQ");

/**
 * Details about one of Chrome's keyed services associated with the event.
 *
 * @generated from message perfetto.protos.ChromeKeyedService
 */
export type ChromeKeyedService = Message<"perfetto.protos.ChromeKeyedService"> & {
  /**
   * Name of the service, e.g. "MediaRouter", "PreviewsService", etc. (in
   * Chrome, these are static strings known at compile time).
   *
   * @generated from field: optional string name = 1;
   */
  name: string;
};

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

