//
// 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/inputmethod/inputmethodmanager.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/android/view/inputmethod/inputmethodmanager.proto.
 */
export const file_protos_perfetto_trace_android_view_inputmethod_inputmethodmanager: GenFile = /*@__PURE__*/
  fileDesc("Ckdwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2lucHV0bWV0aG9kL2lucHV0bWV0aG9kbWFuYWdlci5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIrABChdJbnB1dE1ldGhvZE1hbmFnZXJQcm90bxIOCgZjdXJfaWQYASABKAkSFwoPZnVsbHNjcmVlbl9tb2RlGAIgASgIEhIKCmRpc3BsYXlfaWQYAyABKAUSDgoGYWN0aXZlGAQgASgIEhkKEXNlcnZlZF9jb25uZWN0aW5nGAUgASgIEhMKC3NlcnZlZF92aWV3GAYgASgJEhgKEG5leHRfc2VydmVkX3ZpZXcYByABKAk");

/**
 * Represents a {@link android.view.inputmethod.InputMethodManager} object
 *
 * @generated from message perfetto.protos.InputMethodManagerProto
 */
export type InputMethodManagerProto = Message<"perfetto.protos.InputMethodManagerProto"> & {
  /**
   * @generated from field: optional string cur_id = 1;
   */
  curId: string;

  /**
   * @generated from field: optional bool fullscreen_mode = 2;
   */
  fullscreenMode: boolean;

  /**
   * @generated from field: optional int32 display_id = 3;
   */
  displayId: number;

  /**
   * @generated from field: optional bool active = 4;
   */
  active: boolean;

  /**
   * @generated from field: optional bool served_connecting = 5;
   */
  servedConnecting: boolean;

  /**
   * @generated from field: optional string served_view = 6;
   */
  servedView: string;

  /**
   * @generated from field: optional string next_served_view = 7;
   */
  nextServedView: string;
};

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

