//
// Copyright (C) 2024 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/android/view/insetscontroller.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 { InsetsStateProto } from "./insetsstate_pb";
import { file_protos_perfetto_trace_android_view_insetsstate } from "./insetsstate_pb";
import type { InsetsAnimationControlImplProto } from "./insetsanimationcontrolimpl_pb";
import { file_protos_perfetto_trace_android_view_insetsanimationcontrolimpl } from "./insetsanimationcontrolimpl_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/android/view/insetscontroller.proto.
 */
export const file_protos_perfetto_trace_android_view_insetscontroller: GenFile = /*@__PURE__*/
  fileDesc("Cjlwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2luc2V0c2NvbnRyb2xsZXIucHJvdG8SD3BlcmZldHRvLnByb3RvcyKMAQoVSW5zZXRzQ29udHJvbGxlclByb3RvEjAKBXN0YXRlGAEgASgLMiEucGVyZmV0dG8ucHJvdG9zLkluc2V0c1N0YXRlUHJvdG8SQQoHY29udHJvbBgCIAMoCzIwLnBlcmZldHRvLnByb3Rvcy5JbnNldHNBbmltYXRpb25Db250cm9sSW1wbFByb3Rv", [file_protos_perfetto_trace_android_view_insetsstate, file_protos_perfetto_trace_android_view_insetsanimationcontrolimpl]);

/**
 * Represents a {@link android.view.InsetsController} object
 *
 * @generated from message perfetto.protos.InsetsControllerProto
 */
export type InsetsControllerProto = Message<"perfetto.protos.InsetsControllerProto"> & {
  /**
   * @generated from field: optional perfetto.protos.InsetsStateProto state = 1;
   */
  state?: InsetsStateProto;

  /**
   * @generated from field: repeated perfetto.protos.InsetsAnimationControlImplProto control = 2;
   */
  control: InsetsAnimationControlImplProto[];
};

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

