UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

247 lines 10.1 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/android/view/inputmethod/inputconnection.proto. */ export declare const file_protos_perfetto_trace_android_view_inputmethod_inputconnection: GenFile; /** * Represents a {@link android.view.inputmethod.InputConnection} object * * @generated from message perfetto.protos.InputConnectionProto */ export type InputConnectionProto = Message<"perfetto.protos.InputConnectionProto"> & { /** * @generated from field: optional int32 selected_text_start = 3; */ selectedTextStart: number; /** * @generated from field: optional int32 selected_text_end = 4; */ selectedTextEnd: number; /** * @generated from field: optional int32 cursor_caps_mode = 5; */ cursorCapsMode: number; }; /** * Describes the message perfetto.protos.InputConnectionProto. * Use `create(InputConnectionProtoSchema)` to create a new message. */ export declare const InputConnectionProtoSchema: GenMessage<InputConnectionProto>; /** * Shows information about parameters and result for method calls to * {@link android.view.inputmethod.InputConnection} * * @generated from message perfetto.protos.InputConnectionCallProto */ export type InputConnectionCallProto = Message<"perfetto.protos.InputConnectionCallProto"> & { /** * @generated from oneof perfetto.protos.InputConnectionCallProto.method_call */ methodCall: { /** * @generated from field: perfetto.protos.InputConnectionCallProto.GetTextBeforeCursor get_text_before_cursor = 1; */ value: InputConnectionCallProto_GetTextBeforeCursor; case: "getTextBeforeCursor"; } | { /** * @generated from field: perfetto.protos.InputConnectionCallProto.GetTextAfterCursor get_text_after_cursor = 2; */ value: InputConnectionCallProto_GetTextAfterCursor; case: "getTextAfterCursor"; } | { /** * @generated from field: perfetto.protos.InputConnectionCallProto.GetSelectedText get_selected_text = 3; */ value: InputConnectionCallProto_GetSelectedText; case: "getSelectedText"; } | { /** * @generated from field: perfetto.protos.InputConnectionCallProto.GetSurroundingText get_surrounding_text = 4; */ value: InputConnectionCallProto_GetSurroundingText; case: "getSurroundingText"; } | { /** * @generated from field: perfetto.protos.InputConnectionCallProto.GetCursorCapsMode get_cursor_caps_mode = 5; */ value: InputConnectionCallProto_GetCursorCapsMode; case: "getCursorCapsMode"; } | { /** * @generated from field: perfetto.protos.InputConnectionCallProto.GetExtractedText get_extracted_text = 6; */ value: InputConnectionCallProto_GetExtractedText; case: "getExtractedText"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message perfetto.protos.InputConnectionCallProto. * Use `create(InputConnectionCallProtoSchema)` to create a new message. */ export declare const InputConnectionCallProtoSchema: GenMessage<InputConnectionCallProto>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetTextBeforeCursor */ export type InputConnectionCallProto_GetTextBeforeCursor = Message<"perfetto.protos.InputConnectionCallProto.GetTextBeforeCursor"> & { /** * @generated from field: optional int32 length = 1; */ length: number; /** * @generated from field: optional int32 flags = 2; */ flags: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetTextBeforeCursor. * Use `create(InputConnectionCallProto_GetTextBeforeCursorSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetTextBeforeCursorSchema: GenMessage<InputConnectionCallProto_GetTextBeforeCursor>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetTextAfterCursor */ export type InputConnectionCallProto_GetTextAfterCursor = Message<"perfetto.protos.InputConnectionCallProto.GetTextAfterCursor"> & { /** * @generated from field: optional int32 length = 1; */ length: number; /** * @generated from field: optional int32 flags = 2; */ flags: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetTextAfterCursor. * Use `create(InputConnectionCallProto_GetTextAfterCursorSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetTextAfterCursorSchema: GenMessage<InputConnectionCallProto_GetTextAfterCursor>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetSelectedText */ export type InputConnectionCallProto_GetSelectedText = Message<"perfetto.protos.InputConnectionCallProto.GetSelectedText"> & { /** * @generated from field: optional int32 flags = 1; */ flags: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetSelectedText. * Use `create(InputConnectionCallProto_GetSelectedTextSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetSelectedTextSchema: GenMessage<InputConnectionCallProto_GetSelectedText>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetSurroundingText */ export type InputConnectionCallProto_GetSurroundingText = Message<"perfetto.protos.InputConnectionCallProto.GetSurroundingText"> & { /** * @generated from field: optional int32 before_length = 1; */ beforeLength: number; /** * @generated from field: optional int32 after_length = 2; */ afterLength: number; /** * @generated from field: optional int32 flags = 3; */ flags: number; /** * @generated from field: optional perfetto.protos.InputConnectionCallProto.GetSurroundingText.SurroundingText result = 4; */ result?: InputConnectionCallProto_GetSurroundingText_SurroundingText; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetSurroundingText. * Use `create(InputConnectionCallProto_GetSurroundingTextSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetSurroundingTextSchema: GenMessage<InputConnectionCallProto_GetSurroundingText>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetSurroundingText.SurroundingText */ export type InputConnectionCallProto_GetSurroundingText_SurroundingText = Message<"perfetto.protos.InputConnectionCallProto.GetSurroundingText.SurroundingText"> & { /** * @generated from field: optional int32 selection_start = 2; */ selectionStart: number; /** * @generated from field: optional int32 selection_end = 3; */ selectionEnd: number; /** * @generated from field: optional int32 offset = 4; */ offset: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetSurroundingText.SurroundingText. * Use `create(InputConnectionCallProto_GetSurroundingText_SurroundingTextSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetSurroundingText_SurroundingTextSchema: GenMessage<InputConnectionCallProto_GetSurroundingText_SurroundingText>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetCursorCapsMode */ export type InputConnectionCallProto_GetCursorCapsMode = Message<"perfetto.protos.InputConnectionCallProto.GetCursorCapsMode"> & { /** * @generated from field: optional int32 req_modes = 1; */ reqModes: number; /** * @generated from field: optional int32 result = 2; */ result: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetCursorCapsMode. * Use `create(InputConnectionCallProto_GetCursorCapsModeSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetCursorCapsModeSchema: GenMessage<InputConnectionCallProto_GetCursorCapsMode>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetExtractedText */ export type InputConnectionCallProto_GetExtractedText = Message<"perfetto.protos.InputConnectionCallProto.GetExtractedText"> & { /** * @generated from field: optional perfetto.protos.InputConnectionCallProto.GetExtractedText.ExtractedTextRequest request = 1; */ request?: InputConnectionCallProto_GetExtractedText_ExtractedTextRequest; /** * @generated from field: optional int32 flags = 2; */ flags: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetExtractedText. * Use `create(InputConnectionCallProto_GetExtractedTextSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetExtractedTextSchema: GenMessage<InputConnectionCallProto_GetExtractedText>; /** * @generated from message perfetto.protos.InputConnectionCallProto.GetExtractedText.ExtractedTextRequest */ export type InputConnectionCallProto_GetExtractedText_ExtractedTextRequest = Message<"perfetto.protos.InputConnectionCallProto.GetExtractedText.ExtractedTextRequest"> & { /** * @generated from field: optional int32 token = 1; */ token: number; /** * @generated from field: optional int32 flags = 2; */ flags: number; /** * @generated from field: optional int32 hint_max_lines = 3; */ hintMaxLines: number; /** * @generated from field: optional int32 hint_max_chars = 4; */ hintMaxChars: number; }; /** * Describes the message perfetto.protos.InputConnectionCallProto.GetExtractedText.ExtractedTextRequest. * Use `create(InputConnectionCallProto_GetExtractedText_ExtractedTextRequestSchema)` to create a new message. */ export declare const InputConnectionCallProto_GetExtractedText_ExtractedTextRequestSchema: GenMessage<InputConnectionCallProto_GetExtractedText_ExtractedTextRequest>; //# sourceMappingURL=inputconnection_pb.d.ts.map