package mozc.commands

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Annotation

candidates.proto:41

Annotation against a candidate.

Used in: CandidateWord, Candidates.Candidate

message ApplicationInfo

commands.proto:752

Note there is another ApplicationInfo inside RendererCommand. Since Input is not using nested message, define ApplicationInfo here.

Used in: Input

message CandidateList

candidates.proto:137

Used in: Output

message CandidateWord

candidates.proto:124

Used in: CandidateList

message Candidates

candidates.proto:155

TODO(komatsu) rename it to CandidateWindow.

Used in: Output, session.SessionState

message Candidates.Candidate

candidates.proto:169

TODO(komatsu): Use CandidateList.

Used in: Candidates

enum Candidates.CandidateWindowLocation

candidates.proto:209

Used in: Candidates

enum Candidates.Direction

candidates.proto:199

The direction of candidates in the window. This is just a suggestion from the server and client does not have to follow.

Used in: Candidates

message Capability

commands.proto:529

Clients' capability. Users cannot modify this. The server has to obey this capability.

Used in: Input

enum Capability.TextDeletionCapabilityType

commands.proto:531

Bit fields to notify what the client can do.

Used in: Capability

enum Category

candidates.proto:74

Category describes the attribute of the words.

Used in: CandidateList, Candidates, InformationList

message Command

commands.proto:1098

Used in: CommandList

message CommandList

commands.proto:1103

enum CompositionMode

commands.proto:49

This enum is used by SessionCommand::input_mode with CHANGE_INPUT_MODE and Output::mode.

Used in: KeyEvent, Output, SessionCommand, Status

message Context

commands.proto:476

Used in: Input

enum Context.InputFieldType

commands.proto:495

Input field type. The types are based on the input types defined in HTML5. http://dev.w3.org/html5/spec/Overview.html#attr-input-type Other types are to be added later.

Used in: Context, session.SessionState

message DeletionRange

commands.proto:1013

This messsage contains which characters are to be deleted by client. E.g. if current composition and surrounding text are "この感じは漢字は" ^^^^^^ and we send DeletionRange with offset == -3 and length == 3, then they will be rendered like: "この漢字は" ^^^^^^

Used in: Output

enum DisplayType

candidates.proto:84

DisplayType is a hint to UI renderers describing how the words are displayed.

Used in: Candidates, InformationList

Message representing the footer part of the candidate window.

Used in: Candidates

message GenericStorageEntry

commands.proto:292

Used in: Input, Output

enum GenericStorageEntry.StorageType

commands.proto:293

Used in: GenericStorageEntry

message Information

candidates.proto:57

Additional information to a candidate word. This message is used for describing a word usage for instance.

Used in: InformationList

message InformationList

candidates.proto:97

Used in: Candidates

message Input

commands.proto:762

Used in: Command

enum Input.CommandType

commands.proto:763

Used in: Input

enum Input.TouchAction

commands.proto:886

Used in: TouchPosition

message Input.TouchEvent

commands.proto:903

TouchEvent contains source_id and stroke. Touch_events contain all key touch event. Statistical information are collected for each source_id by SessionUsageObserver.

Used in: Input

message Input.TouchPosition

commands.proto:891

Used in: TouchEvent

message KeyEvent

commands.proto:59

Used in: Input, Output

enum KeyEvent.InputStyle

commands.proto:255

Used in: KeyEvent

enum KeyEvent.ModifierKey

commands.proto:212

Used in: KeyEvent, ProbableKeyEvent

message KeyEvent.ProbableKeyEvent

commands.proto:230

Probable key event, mainly for touch screen. User's input has ambiguity (e.g. the touch position is merginal) so this message expresses the probable event.

Used in: KeyEvent

enum KeyEvent.SpecialKey

commands.proto:60

Used in: KeyEvent, ProbableKeyEvent

message Output

commands.proto:1021

Used in: Command, RendererCommand

message Output.Callback

commands.proto:1080

Callback request to the client.

Used in: Output

enum Output.ErrorCode

commands.proto:1053

ErrorCode: if SessionHandler::EvalCommand() returns false, return output with error_code = SESSION_FAILURE;

Used in: Output

enum Output.PreeditMethod

commands.proto:1044

PreeditMethod: this is the default input mode of the session. If the user's config is "kana-input", it returns KANA. Only CreateSession response will have this field.

Used in: Output

enum Output.ToolMode

commands.proto:1071

if launch_tool_mode is set, MozcTool is supposed to be launched by client.

Used in: Output

message Preedit

commands.proto:956

Preedit represents a composition data, which is rendered on the host application by the ime client. On Japanese IME, the both Preedit and Conversion statuses are represented by this message.

Used in: Output, session.SessionState

message Preedit.Segment

commands.proto:964

The string data of Preedit is separated into Segment messages presenting the ime server's status. On Preedit status of Japanese IME, there are up to three segments; left side chars of cursor, forcused char, right side chars of cursor. On Conversion status of Japanese IME, the messages literally represent the segments of the conversion.

Used in: Preedit

enum Preedit.Segment.Annotation

commands.proto:965

Used in: Segment

message Rectangle

candidates.proto:90

TODO(nona): merge to RendererCommand::Rectangle

Used in: Candidates, SessionCommand

message RendererCommand

renderer_command.proto:42

message RendererCommand.ApplicationInfo

renderer_command.proto:148

Application information Mozc UI is attaching

Used in: RendererCommand

enum RendererCommand.ApplicationInfo.InputFrameworkType

renderer_command.proto:163

Represents IM Framework used in the client. Currently only Windows IM frameworks are supported.

Used in: ApplicationInfo

enum RendererCommand.ApplicationInfo.MessageSenderType

renderer_command.proto:210

Renderer sends RendererCommand to renderer itself in order to extend InfoList.

Used in: ApplicationInfo

enum RendererCommand.ApplicationInfo.UIVisibility

renderer_command.proto:191

used in Windows: Indicates if a UI element is expected to be displayed or not. Note taht |RendererCommand::visible| should be prior to these flags, that is, you should hide all UI elements if |RendererCommand::visible| is false regardless of the visibility specified in this field.

message RendererCommand.CandidateForm

renderer_command.proto:110

An equivalent to CANDIDATEFORM in IMM32. (For Windows only) TODO(yukawa): make a common candidate form format for all platforms.

Used in: ApplicationInfo

enum RendererCommand.CandidateForm.Style

renderer_command.proto:112

These constants correspond to CFS_* in Imm.h

Used in: CandidateForm

message RendererCommand.CaretInfo

renderer_command.proto:136

This message is a subset of Win32 GUITHREADINFO. (For Windows only) TODO(yukawa): make a common candidate form format for all platforms.

Used in: ApplicationInfo

message RendererCommand.CharacterPosition

renderer_command.proto:127

An equivalent to IMECHARPOSITION in IMM32. (For Windows only) TODO(yukawa): make a common candidate form format for all platforms.

Used in: ApplicationInfo

enum RendererCommand.CommandType

renderer_command.proto:54

Used in: RendererCommand

message RendererCommand.CompositionForm

renderer_command.proto:92

An equivalent to COMPOSITIONFORM in IMM32. (For Windows only) TODO(yukawa): make a common composition form format for all platforms.

Used in: ApplicationInfo

enum RendererCommand.CompositionForm.Style

renderer_command.proto:94

These constants correspond to CFS_* in Imm.h

Used in: CompositionForm

message RendererCommand.IndicatorInfo

renderer_command.proto:143

Visual information about mode indicator.

Used in: ApplicationInfo

message RendererCommand.Point

renderer_command.proto:49

Used in: CandidateForm, CharacterPosition, CompositionForm

message RendererCommand.Rectangle

renderer_command.proto:43

Used in: RendererCommand, CandidateForm, CaretInfo, CharacterPosition, CompositionForm

message RendererCommand.WinLogFont

renderer_command.proto:73

TODO(yukawa): make a common font format for all platforms.

Used in: ApplicationInfo

message Request

commands.proto:545

Clients' request to the server. Users cannot modify this. In the future each request may be able to be overwirtten by Config. The server does not have to obey this request.

Used in: Input, session.SessionState

enum Request.CrossingEdgeBehavior

commands.proto:710

Controls the behavior when a user types the left/right key at the edge of the preedit string (in more precise, the left key at the beginning of the preedit string, or the right key at the end).

Used in: Request

enum Request.EmojiCarrierType

commands.proto:682

Nowadays, four kinds of emoji characters are used in Japan. - Unicode: Unicode based emoji (since Unicode 6.0). - Docomo: Docomo's carrier emoji. - Softbank: Softbank's carrier emoji. - Kddi: Kddi's carrier emoji. Note that especially latter three kinds are used on Mobile phones. So, it is necessary to control what kinds of emoji can be used or not based on client's (or connected application's) information. For example, on Android; - Unicode emoji characters are available only on Android 4.1 or later only. - JP mobile carriers' emoji characters depend on the devices. Also, we need to check the text field's attribute for them. The following bit set tells the emoji availability to EmojiRewriter.

enum Request.LanguageAwareInputBehavior

commands.proto:736

Controls the behavior of language aware input. Language aware input guesses the actual language regardless the input mode. For example, if user type "てst" it will be treated as "test".

Used in: Request

enum Request.RewriterCapability

commands.proto:696

For emoji rewriter, it is necessary to control when the rewriter runs based on the clients. The following bit set is sync'ed to RewriterInterface::CapabilityType (see rewriter_interface.h, too), so that clients can fill the value.

enum Request.SpaceOnAlphanumeric

commands.proto:615

Used in: Request

enum Request.SpecialRomanjiTable

commands.proto:558

Used in: Request

message Result

commands.proto:932

Result contains data to be submitted to the host application by the ime client.

Used in: Output, session.SessionState

enum Result.ResultType

commands.proto:933

Used in: Result

message SessionCommand

commands.proto:310

Used in: Input, Output.Callback

enum SessionCommand.CommandType

commands.proto:311

Used in: SessionCommand

enum SessionCommand.UsageStatsEvent

commands.proto:458

Client side event for collecting usage statistics

Used in: SessionCommand

message Status

commands.proto:989

Used in: Output, RendererCommand.IndicatorInfo