//
// 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/imeinsetssourceconsumer.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 { InsetsSourceConsumerProto } from "./insetssourceconsumer_pb";
import { file_protos_perfetto_trace_android_view_insetssourceconsumer } from "./insetssourceconsumer_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto.
 */
export const file_protos_perfetto_trace_android_view_imeinsetssourceconsumer: GenFile = /*@__PURE__*/
  fileDesc("CkBwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2ltZWluc2V0c3NvdXJjZWNvbnN1bWVyLnByb3RvEg9wZXJmZXR0by5wcm90b3MimAIKHEltZUluc2V0c1NvdXJjZUNvbnN1bWVyUHJvdG8SSgoWaW5zZXRzX3NvdXJjZV9jb25zdW1lchgBIAEoCzIqLnBlcmZldHRvLnByb3Rvcy5JbnNldHNTb3VyY2VDb25zdW1lclByb3RvEi0KJWlzX3JlcXVlc3RlZF92aXNpYmxlX2F3YWl0aW5nX2NvbnRyb2wYAyABKAgSJQoZaXNfaGlkZV9hbmltYXRpb25fcnVubmluZxgEIAEoCEICGAESMwonaXNfc2hvd19yZXF1ZXN0ZWRfZHVyaW5nX2hpZGVfYW5pbWF0aW9uGAUgASgIQgIYARIbChNoYXNfcGVuZGluZ19yZXF1ZXN0GAYgASgISgQIAhAD", [file_protos_perfetto_trace_android_view_insetssourceconsumer]);

/**
 * Represents a {@link android.view.ImeInsetsSourceConsumer} object
 *
 * @generated from message perfetto.protos.ImeInsetsSourceConsumerProto
 */
export type ImeInsetsSourceConsumerProto = Message<"perfetto.protos.ImeInsetsSourceConsumerProto"> & {
  /**
   * @generated from field: optional perfetto.protos.InsetsSourceConsumerProto insets_source_consumer = 1;
   */
  insetsSourceConsumer?: InsetsSourceConsumerProto;

  /**
   * @generated from field: optional bool is_requested_visible_awaiting_control = 3;
   */
  isRequestedVisibleAwaitingControl: boolean;

  /**
   * @generated from field: optional bool is_hide_animation_running = 4 [deprecated = true];
   * @deprecated
   */
  isHideAnimationRunning: boolean;

  /**
   * @generated from field: optional bool is_show_requested_during_hide_animation = 5 [deprecated = true];
   * @deprecated
   */
  isShowRequestedDuringHideAnimation: boolean;

  /**
   * @generated from field: optional bool has_pending_request = 6;
   */
  hasPendingRequest: boolean;
};

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

