Protobuf API reference
Protocol Buffers service methods, messages, and enums.
API areas
Browse the sidebar for all modules, or search for a function or type.
Index
| Function | Description |
|---|---|
| Echoes back the string you added. |
| Type | Description |
|---|---|
| Echoes back the string you added. | |
| PrintResponse | |
| RemoteHandle | An opaque reference to stored blob data. |
| StatementError | An encoded statement failure. grpc_code gives the status code for its kind. |
| StatementErrorKind | Statement failures that a client can distinguish by kind. |
RPC
Print(request: Print) -> PrintResponseEchoes back the string you added.
Service method: spatialengine.v1.Root.Print.
Returns PrintResponse.
message : string
The message to echo.
Message
Echoes back the string you added.
message : string
The message to echo.
PrintResponse
Message
value optional : string
RemoteHandle
Message
An opaque reference to stored blob data.
A handle identifies data, independent of its location or format. Constructing a handle does not check whether the data exists. A statement that reads the data reports missing data or an incompatible format. Preserve the UUID string when passing a handle between clients.
uuid : string
The stored data’s identifier as a hyphenated UUID string.
StatementError
Message
An encoded statement failure. grpc_code gives the status code for its kind.
kind : StatementErrorKind
Which failure this is, as a StatementErrorKind i32 kind.
message : string
Human-readable detail. Branch on kind rather than parsing this.
grpc_code : int32
The gRPC status code this failure maps to.
StatementErrorKind
Enum
Statement failures that a client can distinguish by kind.
STATEMENT_ERROR_KIND_UNSPECIFIED = 0
No kind was set. A decoder seeing this is reading bytes from an older engine.
STATEMENT_ERROR_KIND_NOT_VERSIONED_MODE = 1
An operation was submitted while the runtime is not in versioned mode.
STATEMENT_ERROR_KIND_FAILED_TO_START = 2
The statement could not be started.
STATEMENT_ERROR_KIND_INTERNAL = 3
The statement queued, but its implementation failed.
STATEMENT_ERROR_KIND_CANCELLED = 4
The statement was cancelled by an undo or redo, or a later statement superseded it.
STATEMENT_ERROR_KIND_TYPE_MISMATCH = 5
A value in the request did not have the type the statement expects.
STATEMENT_ERROR_KIND_UNKNOWN_STATEMENT = 6
The requested method URL names no registered statement.
STATEMENT_ERROR_KIND_DECODE_ERROR = 7
The request payload did not decode as the statement’s message.
STATEMENT_ERROR_KIND_TRANSACTION_ALREADY_OPEN = 8
A transaction was already open when one was asked to begin.
STATEMENT_ERROR_KIND_TRANSACTION_NOT_ADMITTED = 9
The open transaction refused this operation.
STATEMENT_ERROR_KIND_TRANSACTION_CLOSED = 10
The named transaction is not open.
STATEMENT_ERROR_KIND_WRONG_NODE_KIND = 11
The statement was given a node that is not the kind it acts on.
STATEMENT_ERROR_KIND_INVALID_ARGUMENT = 12
A value in the request lies outside its stated domain.
STATEMENT_ERROR_KIND_SOURCE_UNAVAILABLE = 13
A source URL in the request could not be fetched.
STATEMENT_ERROR_KIND_UNSUPPORTED_FORMAT = 14
A fetched file is not in a format the statement reads, or cannot be used.
STATEMENT_ERROR_KIND_NOT_READY = 15
The target exists but cannot act yet. The same statement sent again later can succeed.
STATEMENT_ERROR_KIND_NOT_FOUND = 16
The requested identifier does not refer to a live object.