package mozc.commands

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

message Annotation

candidate_window.proto:41

Annotation against a candidate.

Used in: CandidateWindow.Candidate, CandidateWord

message ApplicationInfo

commands.proto:974

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

Used in: Input

enum CandidateAttribute

candidate_window.proto:94

CandidateAttribute indicates how the candidate was generated.

Used in: CandidateWord

message CandidateList

candidate_window.proto:149

Used in: Output

message CandidateWindow

candidate_window.proto:166

Used in: Output, protocol.SessionState

message CandidateWindow.Candidate

candidate_window.proto:180

TODO(komatsu): Use CandidateList.

Used in: CandidateWindow

enum CandidateWindow.Direction

candidate_window.proto:214

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

Used in: CandidateWindow

message CandidateWord

candidate_window.proto:129

Used in: CandidateList

message Capability

commands.proto:537

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

Used in: Input

enum Capability.TextDeletionCapabilityType

commands.proto:539

Bit fields to notify what the client can do.

Used in: Capability

enum Category

candidate_window.proto:78

Category describes the attribute of the words.

Used in: CandidateList, CandidateWindow, InformationList

message Command

commands.proto:1379

Used in: CommandList, MozcCommands

message CommandList

commands.proto:1389

enum CompositionMode

commands.proto:50

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:485

Used in: Input

enum Context.InputFieldType

commands.proto:503

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, protocol.SessionState

message DecoderExperimentParams

commands.proto:553

Next ID: 108 Bundles together some Android experiment flags so that they can be easily retrieved throughout the native code. These flags are generally specific to the decoder, and are made available when the decoder is initialized.

Used in: Request

enum DecoderExperimentParams.BigramNwpFilteringMode

commands.proto:626

enum DecoderExperimentParams.VariationCharacterType

commands.proto:558

message DeletionRange

commands.proto:1259

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

Used in: Output

enum DisplayType

candidate_window.proto:88

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

Used in: CandidateWindow, InformationList

candidate_window.proto:117

Message representing the footer part of the candidate window.

Used in: CandidateWindow

message Information

candidate_window.proto:61

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

Used in: InformationList

message InformationList

candidate_window.proto:102

Used in: CandidateWindow

message Input

commands.proto:980

Used in: Command

enum Input.CommandType

commands.proto:981

Used in: Input

enum Input.TouchAction

commands.proto:1101

Used in: TouchPosition

message Input.TouchEvent

commands.proto:1118

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:1106

Used in: TouchEvent

message KeyEvent

commands.proto:60

Used in: Input, Output

enum KeyEvent.InputStyle

commands.proto:270

Used in: KeyEvent

enum KeyEvent.ModifierKey

commands.proto:222

Used in: KeyEvent, ProbableKeyEvent

message KeyEvent.ProbableKeyEvent

commands.proto:245

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:62

LINT.IfChange

Used in: KeyEvent, ProbableKeyEvent

message MozcCommands

commands.proto:1385

Message used by ProtoXDB as "mozc_commands".

message Output

commands.proto:1281

Next ID: 27

Used in: Command, RendererCommand

message Output.Callback

commands.proto:1344

Callback request to the client.

Used in: Output

enum Output.ErrorCode

commands.proto:1313

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

Used in: Output

enum Output.PreeditMethod

commands.proto:1304

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:1335

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

Used in: Output

message Output.VersionInfo

commands.proto:1372

Used in: Output

message Preedit

commands.proto:1192

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, protocol.SessionState

message Preedit.Segment

commands.proto:1200

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:1201

Used in: Segment

message RendererCommand

renderer_command.proto:42

message RendererCommand.ApplicationInfo

renderer_command.proto:90

Application information Mozc UI is attaching

Used in: RendererCommand

enum RendererCommand.ApplicationInfo.InputFrameworkType

renderer_command.proto:105

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

Used in: ApplicationInfo

enum RendererCommand.ApplicationInfo.UIVisibility

renderer_command.proto:128

used in Windows: Indicates if a UI element is expected to be displayed or not. Note that |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.CharacterPosition

renderer_command.proto:74

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.IndicatorInfo

renderer_command.proto:85

Visual information about mode indicator.

Used in: ApplicationInfo

message RendererCommand.Point

renderer_command.proto:49

Used in: CharacterPosition

message RendererCommand.Rectangle

renderer_command.proto:43

Used in: RendererCommand, CharacterPosition

message Request

commands.proto:653

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

Used in: Input, protocol.SessionState

enum Request.AdditionalRenderableCharacterGroup

commands.proto:901

Additional Character Group represents certain group of characters, that can be additionaly requested from the client side, based on font-availability information. This enum is not intended to be used for user preference. 'Additional' cases can change as time advances. For example, when KANA_SUPPLEMENT_6_0 becomes enough available among environments, this option becomes default and the case will be removed. WARNING: Although cases are mutually exclusive now, they are not necessarily mutually exclusive. However, the current implementation in NormalizationRewriter assumes they are mutually exclusive. LINT.IfChange Next ID: 14

Used in: Request

enum Request.CrossingEdgeBehavior

commands.proto:826

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.LanguageAwareInputBehavior

commands.proto:852

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:812

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:752

Used in: Request

enum Request.SpecialRomanjiTable

commands.proto:664

Next ID: 51

Used in: Request

message Result

commands.proto:1166

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

Used in: Output, protocol.SessionState

enum Result.ResultType

commands.proto:1167

Used in: Result

message ResultToken

commands.proto:1149

Detailed information of Result.

Used in: Result

message SessionCommand

commands.proto:310

Used in: Input, Output.Callback

enum SessionCommand.CommandType

commands.proto:311

Used in: SessionCommand

message SessionCommand.CompositionEvent

commands.proto:473

Used by UPDATE_COMPOSITION event

Used in: SessionCommand

message Status

commands.proto:1233

Used in: Output, RendererCommand.IndicatorInfo