The cl-protobufs Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-protobufs Reference Manual

This is the cl-protobufs Reference Manual, version 1.0, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:19:50 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

1.1 cl-protobufs

Maintainer

Scott McKay

Author

Scott McKay

License

MIT-style

Description

Protobufs for Common Lisp

Long Description

Protobufs for Common Lisp

Version

1.0

Dependencies
Source

cl-protobufs.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

2 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

2.1 cl-protobufs/packages

Parent

cl-protobufs (system)

Location

Component

pkgdcl.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

2.2 cl-protobufs/models

Dependencies
Parent

cl-protobufs (system)

Location

Components

Next: , Previous: , Up: Modules   [Contents][Index]

2.3 cl-protobufs/parsing

Dependencies
Parent

cl-protobufs (system)

Location

Components

Next: , Previous: , Up: Modules   [Contents][Index]

2.4 cl-protobufs/schema

Dependencies
Parent

cl-protobufs (system)

Location

Components

Next: , Previous: , Up: Modules   [Contents][Index]

2.5 cl-protobufs/serialization

Dependencies
Parent

cl-protobufs (system)

Location

Components

Previous: , Up: Modules   [Contents][Index]

2.6 cl-protobufs/misc

Dependencies
Parent

cl-protobufs (system)

Location

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-protobufs.asd

Location

cl-protobufs.asd

Systems

cl-protobufs (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-protobufs/packages/pkgdcl.lisp

Parent

packages (module)

Location

pkgdcl.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-protobufs/models/utilities.lisp

Parent

models (module)

Location

utilities.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 cl-protobufs/models/model-classes.lisp

Dependency

utilities.lisp (file)

Parent

models (module)

Location

model-classes.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 cl-protobufs/models/conditions.lisp

Dependency

model-classes.lisp (file)

Parent

models (module)

Location

conditions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 cl-protobufs/parsing/parser.lisp

Parent

parsing (module)

Location

parser.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 cl-protobufs/parsing/printer.lisp

Dependency

parser.lisp (file)

Parent

parsing (module)

Location

printer.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 cl-protobufs/schema/define-proto.lisp

Parent

schema (module)

Location

define-proto.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 cl-protobufs/schema/upgradable.lisp

Dependency

define-proto.lisp (file)

Parent

schema (module)

Location

upgradable.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 cl-protobufs/schema/clos-transform.lisp

Dependency

upgradable.lisp (file)

Parent

schema (module)

Location

clos-transform.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.11 cl-protobufs/serialization/text-format.lisp

Parent

serialization (module)

Location

text-format.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.12 cl-protobufs/serialization/wire-format.lisp

Dependency

text-format.lisp (file)

Parent

serialization (module)

Location

wire-format.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.13 cl-protobufs/serialization/serialize.lisp

Dependency

wire-format.lisp (file)

Parent

serialization (module)

Location

serialize.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.14 cl-protobufs/misc/api.lisp

Parent

misc (module)

Location

api.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.15 cl-protobufs/misc/asdf-support.lisp

Dependency

api.lisp (file)

Parent

misc (module)

Location

asdf-support.lisp

Exported Definitions
Internal Definitions

do-process-import (function)


Previous: , Up: Lisp files   [Contents][Index]

3.1.16 cl-protobufs/misc/examples.lisp

Dependency

asdf-support.lisp (file)

Parent

misc (module)

Location

examples.lisp


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 protobufs-implementation

Source

pkgdcl.lisp (file)

Nickname

proto-impl

Use List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

4.2 protobufs

Source

pkgdcl.lisp (file)

Nickname

proto

Used By List

protobufs-implementation

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Constants

Constant: $wire-type-32bit
Package

protobufs-implementation

Source

wire-format.lisp (file)

Constant: $wire-type-64bit
Package

protobufs-implementation

Source

wire-format.lisp (file)

Constant: $wire-type-end-group
Package

protobufs-implementation

Source

wire-format.lisp (file)

Constant: $wire-type-start-group
Package

protobufs-implementation

Source

wire-format.lisp (file)

Constant: $wire-type-string
Package

protobufs-implementation

Source

wire-format.lisp (file)

Constant: $wire-type-varint
Package

protobufs-implementation

Source

wire-format.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Special variables

Special Variable: *alias-existing-classes*
Package

protobufs-implementation

Source

clos-transform.lisp (file)

Special Variable: *all-messages*

A global table mapping Lisp class names to ’protobuf-message’ objects.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *all-schemas*

A global table mapping names to ’protobuf-schema’ objects.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf*

Bound to the Protobufs object currently being defined, either a schema or a message.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf-conc-name*

Bound to a conc-name to use for all the messages in the schema being defined. This controls the name of the accessors the fields of each message.
When it’s nil, there is no "global" conc-name.
When it’s t, each message will use the message name as the conc-name.
When it’s a string, that string will be used as the conc-name for each message. ’parse-schema-from-file’ defaults conc-name to "", meaning that each field in every message has an accessor whose name is the name of the field.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf-output-path*

Bound to the path to use to direct output during imports, etc.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf-package*

Bound to the Lisp package in which the Protobufs schema is being defined.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf-pathname*

Bound to he name of the file from where the .proto file is being parsed.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf-search-path*

Bound to the search-path to use to resolve any relative pathnames.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *rpc-call-function*

The Lisp function that implements RPC client-side calls.
This should be set when an RPC package that uses CL-Protobufs gets loaded.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Special Variable: *rpc-package*

The Lisp package that implements RPC.
This should be set when an RPC package that uses CL-Protobufs gets loaded.

Package

protobufs-implementation

Source

define-proto.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Macros

Macro: define-enum TYPE (&key NAME CONC-NAME ALIAS-FOR OPTIONS DOCUMENTATION SOURCE-LOCATION) &body VALUES

Define a Protobufs enum type and a Lisp ’deftype’ named ’type’.
’name’ can be used to override the defaultly generated Protobufs enum name. ’conc-name’ will be used as the prefix to the Lisp enum names, if it’s supplied. If ’alias-for’ is given, no Lisp ’deftype’ will be defined. Instead, the enum will be used as an alias for an enum type that already exists in Lisp. ’options’ is a set of keyword/value pairs, both of which are strings.

The body consists of the enum values in the form ’name’ or (name index).

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-extend TYPE (&key NAME CONC-NAME OPTIONS DOCUMENTATION) &body FIELDS

Define an extension to the message named ’type’.
’name’ can be used to override the defaultly generated Protobufs message name. The body consists only of fields.
’options’ is a set of keyword/value pairs, both of which are strings.

Fields take the form (slot &key type name default reader writer)
’slot’ can be either a symbol giving the field name, or a list whose
first element is the slot name and whose second element is the index. ’type’ is the type of the slot.
’name’ can be used to override the defaultly generated Protobufs field name. ’default’ is the default value for the slot.
’reader’ is a Lisp slot reader function to use to get the value, instead of using ’slot-value’; this is often used when aliasing an existing class. ’writer’ is a Lisp slot writer function to use to set the value.

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-extension FROM TO

Define an extension range within a message.
The "body" is the start and end of the range, both inclusive.

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-group TYPE (&key INDEX ARITY NAME CONC-NAME ALIAS-FOR READER OPTIONS DOCUMENTATION SOURCE-LOCATION) &body FIELDS

Define a message named ’type’ and a Lisp ’defclass’, *and* a field named type.
This is deprecated in Protobufs, but if you have to use it, you must give ’index’ as the field index and ’arity’ of :required, :optional or :repeated. ’name’ can be used to override the defaultly generated Protobufs message name. The body consists of fields, or ’define-enum’ or ’define-message’ forms. ’conc-name’ will be used as the prefix to the Lisp slot accessors, if it’s supplied. If ’alias-for’ is given, no Lisp class is defined. Instead, the message will be used as an alias for a class that already exists in Lisp. This feature is intended to be used to define messages that will be serialized from existing Lisp classes; unless you get the slot names or readers exactly right for each field, it will be the case that trying to (de)serialize into a Lisp object won’t work.
’options’ is a set of keyword/value pairs, both of which are strings.

Fields take the form (slot &key type name default reader writer)
’slot’ can be either a symbol giving the field name, or a list whose
first element is the slot name and whose second element is the index.
’type’ is the type of the slot.
’name’ can be used to override the defaultly generated Protobufs field name. ’default’ is the default value for the slot.
’reader’ is a Lisp slot reader function to use to get the value, instead of using ’slot-value’; this is often used when aliasing an existing class.
’writer’ is a Lisp slot writer function to use to set the value.

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-message TYPE (&key NAME CONC-NAME ALIAS-FOR OPTIONS DOCUMENTATION SOURCE-LOCATION) &body FIELDS

Define a message named ’type’ and a Lisp ’defclass’.
’name’ can be used to override the defaultly generated Protobufs message name. The body consists of fields, or ’define-enum’ or ’define-message’ forms. ’conc-name’ will be used as the prefix to the Lisp slot accessors, if it’s supplied. If ’alias-for’ is given, no Lisp class is defined. Instead, the message will be used as an alias for a class that already exists in Lisp. This feature is intended to be used to define messages that will be serialized from existing Lisp classes; unless you get the slot names or readers exactly right for each field, it will be the case that trying to (de)serialize into a Lisp object won’t work.
’options’ is a set of keyword/value pairs, both of which are strings.

Fields take the form (slot &key type name default reader writer)
’slot’ can be either a symbol giving the field name, or a list whose
first element is the slot name and whose second element is the index.
’type’ is the type of the slot.
’name’ can be used to override the defaultly generated Protobufs field name. ’default’ is the default value for the slot.
’reader’ is a Lisp slot reader function to use to get the value, instead of using ’slot-value’; this is often used when aliasing an existing class.
’writer’ is a Lisp slot writer function to use to set the value.

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-schema TYPE (&key NAME SYNTAX PACKAGE LISP-PACKAGE IMPORT OPTIMIZE OPTIONS DOCUMENTATION) &body MESSAGES

Define a schema named ’type’, corresponding to a .proto file of that name. ’name’ can be used to override the defaultly generated Protobufs name. ’syntax’ and ’package’ are as they would be in a .proto file. ’lisp-package’ can be used to specify a Lisp package if it is different from the Protobufs package given by ’package’.
’import’ is a list of pathname strings to be imported.
’optimize’ can be either :space (the default) or :speed; if it is :speed, the serialization code will be much faster, but much less compact.
’options’ is a property list, i.e., ("key1" "val1" "key2" "val2" ...).

The body consists of ’define-enum’, ’define-message’ or ’define-service’ forms.

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-service TYPE (&key NAME OPTIONS DOCUMENTATION SOURCE-LOCATION) &body METHOD-SPECS

Define a service named ’type’ and Lisp ’defgeneric’ for all its methods.
’name’ can be used to override the defaultly generated Protobufs service name.
’options’ is a set of keyword/value pairs, both of which are strings.

The body is a set of method specs of the form (name (input-type [=>] output-type) &key options). ’input-type’ and ’output-type’ may also be of the form (type &key name).

Package

protobufs

Source

define-proto.lisp (file)

Macro: define-type-alias TYPE (&key NAME ALIAS-FOR DOCUMENTATION SOURCE-LOCATION) &key LISP-TYPE PROTO-TYPE SERIALIZER DESERIALIZER

Define a Protobufs type alias Lisp ’deftype’ named ’type’.
’lisp-type’ is the name of the Lisp type.
’proto-type’ is the name of a primitive Protobufs type, e.g., ’int32’ or ’string’. ’serializer’ is a function that takes a Lisp object and generates a Protobufs object. ’deserializer’ is a function that takes a Protobufs object and generates a Lisp object. If ’alias-for’ is given, no Lisp ’deftype’ will be defined.

Package

protobufs

Source

define-proto.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Compiler macros

Compiler Macro: deserialize-packed TYPE BUFFER INDEX
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: deserialize-prim TYPE BUFFER INDEX
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: make-tag TYPE INDEX
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: packed-size VALUES TYPE TAG &optional VECTORP
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: prim-size VAL TYPE TAG
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: serialize-packed VALUES TYPE TAG BUFFER INDEX &optional VECTORP
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: serialize-prim VAL TYPE TAG BUFFER INDEX
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: zig-zag-decode32 VAL
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: zig-zag-decode64 VAL
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: zig-zag-encode32 VAL
Package

protobufs-implementation

Source

wire-format.lisp (file)

Compiler Macro: zig-zag-encode64 VAL
Package

protobufs-implementation

Source

wire-format.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Functions

Function: class-name->proto X

Given a Lisp class name, returns a Protobufs message or enum name.
The second value is the fully qualified name, as a list. At least one caller passes in the class, not the name, so check for that first.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: class-to-protobuf-message CLASS SCHEMA &key SLOT-FILTER TYPE-FILTER ENUM-FILTER VALUE-FILTER

Given a CLOS class, return a Protobufs model object for it.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: clos-init-to-protobuf-default VALUE TYPE &optional VALUE-FILTER

Given an initform and a Lisp type, returns a plausible default value.
Don’t call this if the default is empty, because that will confuse ’nil’ with ’unbound’.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: clos-type-to-protobuf-required TYPE &optional TYPE-FILTER

Given a Lisp type, returns a "cardinality": :required, :optional or :repeated.
If the sceond returned value is true, it’s a repeated field that should use a vector.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: clos-type-to-protobuf-type TYPE &optional TYPE-FILTER ENUM-FILTER

Given a Lisp type, returns a Protobuf type, a class or primitive type, whether or not to pack the field, and (optionally) a set of enum values.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: decode-double ()

Decodes the next double float in the buffer at the given index.
Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-fixed32 ()

Decodes the next 32-bit unsigned fixed integer in the buffer at the given index. Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-fixed64 ()

Decodes the next 64-bit unsigned fixed integer in the buffer at the given index. Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-int ()

Decodes the next varint integer in the buffer at the given index.
Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-octets ()

Decodes the next octets in the buffer at the given index.
Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-sfixed32 ()

Decodes the next 32-bit signed fixed integer in the buffer at the given index. Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-sfixed64 ()

Decodes the next 64-bit signed fixed integer in the buffer at the given index. Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-single ()

Decodes the next single float in the buffer at the given index.
Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-string ()

Decodes the next UTF-8 encoded string in the buffer at the given index. Returns both the decoded string and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-uint32 ()

Decodes the next 32-bit varint integer in the buffer at the given index. Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: decode-uint64 ()

Decodes the next 64-bit varint integer in the buffer at the given index. Returns both the decoded value and the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: deserialize-enum ENUM-VALUES BUFFER INDEX

Deserializes the next enum value take from ’enum-values’.
Deserializes from the byte vector ’buffer’ starting at ’index’.
Returns the value and and the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: deserialize-object-from-bytes TYPE BUFFER

Deserializes an object of the given type ’type’ from the given stream as a Protobuf object.
’type’ is the Lisp name of a Protobufs message (usually the name of a Lisp class) or a ’protobuf-message’.
The return value is the object.

Package

protobufs

Source

serialize.lisp (file)

Function: deserialize-object-from-file TYPE FILENAME

Deserializes an object of the given type ’type’ from the given file as a Protobuf object.

Package

protobufs

Source

serialize.lisp (file)

Function: deserialize-object-from-stream TYPE &key STREAM

Deserializes an object of the given type ’type’ from the given stream as a Protobuf object.

Package

protobufs

Source

serialize.lisp (file)

Function: deserialize-packed TYPE BUFFER INDEX

Deserializes the next packed values of type ’type’.
Deserializes from the byte vector ’buffer’ starting at ’index’.
Returns the value and and the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: deserialize-packed-enum ENUM-VALUES BUFFER INDEX

Deserializes the next packed enum values given in ’enum-values’.
Deserializes from the byte vector ’buffer’ starting at ’index’.
Returns the value and and the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: deserialize-prim TYPE BUFFER INDEX

Deserializes the next object of primitive type ’type’.
Deserializes from the byte vector ’buffer’ starting at ’index’.
Returns the value and and the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-double ()

Encodes the double float ’val’ into the buffer at the given index.
Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-fixed32 ()

Encodes the unsigned 32-bit integer ’val’ as a fixed int into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-fixed64 ()

Encodes the unsigned 64-bit integer ’val’ as a fixed int into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-int ()

Encodes the signed integer ’val’ as a varint into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-octets ()

Encodes the octets into the buffer at the given index.
Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-sfixed32 ()

Encodes the signed 32-bit integer ’val’ as a fixed int into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-sfixed64 ()

Encodes the signed 64-bit integer ’val’ as a fixed int into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-single ()

Encodes the single float ’val’ into the buffer at the given index.
Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-string ()

Encodes the octets into the buffer at the given index.
Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-uint32 ()

Encodes the unsigned 32-bit integer ’val’ as a varint into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: encode-uint64 ()

Encodes the unsigned 64-bit integer ’val’ as a varint into the buffer at the given index. Modifies the buffer, and returns the new index into the buffer.
Watch out, this function turns off all type checking and array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: ensure-all-schemas ()
Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: enum-name->proto X &optional PREFIX

Given a Lisp enum value name, returns a Protobufs enum value name. The second value is the fully qualified name, as a list.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: enum-size VAL ENUM-VALUES TAG

Returns the size in bytes that the enum object will take when serialized.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: generate-deserializer MESSAGE

Generate a ’deserialize-object’ method for the given message.

Package

protobufs-implementation

Source

serialize.lisp (file)

Function: generate-object-size MESSAGE

Generate an ’object-size’ method for the given message.

Package

protobufs-implementation

Source

serialize.lisp (file)

Function: generate-schema-for-classes CLASSES &key NAME PACKAGE LISP-PACKAGE INSTALL SLOT-FILTER TYPE-FILTER ENUM-FILTER VALUE-FILTER ALIAS-EXISTING-CLASSES

Given a set of CLOS classes, generates a Protobufs schema for the classes. The return value is the schema.

Package

protobufs

Source

clos-transform.lisp (file)

Function: generate-serializer MESSAGE

Generate a ’serialize-object’ method for the given message.

Package

protobufs-implementation

Source

serialize.lisp (file)

Function: lisp-type-to-protobuf-type TYPE
Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: make-byte-vector SIZE
Package

protobufs

Source

utilities.lisp (file)

Function: make-option NAME VALUE &optional TYPE
Package

protobufs-implementation

Source

model-classes.lisp (file)

Function: make-tag TYPE INDEX

Given a wire type or the name of a Protobufs type and a field index, return the tag that encodes both of them.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: packed-enum-size VALUES ENUM-VALUES TAG

Returns the size in bytes that the enum values will take when serialized.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: packed-size VALUES TYPE TAG &optional VECTORP

Returns the size in bytes that the packed object will take when serialized. Watch out, this function turns off most type checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: parse-protobuf-file PROTOBUF-FILE LISP-FILE IMPORTS-FILE &key CONC-NAME
Package

protobufs-implementation

Source

asdf-support.lisp (file)

Function: parse-schema-from-file FILENAME &key NAME CLASS CONC-NAME

Parses the named file as a .proto file, and returns the Protobufs schema.

Package

protobufs

Source

parser.lisp (file)

Function: parse-schema-from-stream STREAM &key NAME CLASS CONC-NAME

Parses a top-level .proto file from the stream ’stream’. Returns the protobuf schema that describes the .proto file.

Package

protobufs

Source

parser.lisp (file)

Function: prim-size VAL TYPE TAG

Returns the size in bytes that the primitive object will take when serialized. Watch out, this function turns off most type checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: process-imports SCHEMA IMPORTS

Processes the imports for a schema.
If the import is a symbol, see if that resolves to an existing schema.
If the import is a file (string, pathname), parse it as a .proto in the usual manner.

Package

protobufs-implementation

Source

asdf-support.lisp (file)

Function: process-imports-from-file IMPORTS-FILE
Package

protobufs-implementation

Source

asdf-support.lisp (file)

Function: proto->class-name X &optional PACKAGE

Given a Protobufs message or enum type name, returns a Lisp class or type name. This resolves Protobufs qualified names as best as it can.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: proto->enum-name X &optional PACKAGE

Given a Protobufs enum value name, returns a Lisp enum value name. This resolves Protobufs qualified names as best as it can.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: proto->slot-name X &optional PACKAGE

Given a Protobufs field value name, returns a Lisp slot name. This resolves Protobufs qualified names as best as it can.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: protobuf-default-to-clos-init DEFAULT TYPE

Given a Protobufs type and default, return a CLOS initform value.
Don’t call this if the default is empty, because that will confuse ’nil’ with ’unbound’.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: protobufs-warn FORMAT-CONTROL &rest FORMAT-ARGUMENTS
Package

protobufs-implementation

Source

utilities.lisp (file)

Function: serialization-error FORMAT-CONTROL &rest FORMAT-ARGS
Package

protobufs

Source

conditions.lisp (file)

Function: serialize-enum VAL ENUM-VALUES TAG BUFFER INDEX

Serializes a Protobufs enum value into the buffer at the given index.
The value is given by ’val’, the enum values are in ’enum-values’.
Modifies the buffer in place, and returns the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: serialize-object-to-bytes OBJECT TYPE &key VISITED

Serializes the object ’object’ of type ’type’ into a new byte vector
using the wire format.
’type’ is the Lisp name of a Protobufs message (usually the name of a
Lisp class) or a ’protobuf-message’.
’visited’ is a hash table used to cache object sizes. If it is supplied, it will be cleared before it is used; otherwise, a fresh table will be created if necessary. The return value is the buffer containing the serialized object. If the stream is nil, the buffer is not actually written to anywhere.

Package

protobufs

Source

serialize.lisp (file)

Function: serialize-object-to-file FILENAME OBJECT TYPE &key VISITED

Serializes the object ’object’ of type ’type’ into the file ’filename’ using the wire format.
’object’ and ’type’ are the same as for ’serialize-object-to-bytes’.

Package

protobufs

Source

serialize.lisp (file)

Function: serialize-object-to-stream OBJECT TYPE &key STREAM VISITED

Serializes the object ’object’ of type ’type’ onto the stream ’stream’ using the wire format.
’object’ and ’type’ are the same as for ’serialize-object-to-bytes’.

Package

protobufs

Source

serialize.lisp (file)

Function: serialize-packed VALUES TYPE TAG BUFFER INDEX &optional VECTORP

Serializes a set of packed values into the buffer at the given index.
The values are given by ’values’, the primitive type by ’type’.
Modifies the buffer in place, and returns the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: serialize-packed-enum VALUES ENUM-VALUES TAG BUFFER INDEX

Serializes Protobufs enum values into the buffer at the given index.
The values are given by ’values’, the enum values are in ’enum-values’.
Modifies the buffer in place, and returns the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: serialize-prim VAL TYPE TAG BUFFER INDEX

Serializes a Protobufs primitive (scalar) value into the buffer at the given index. The value is given by ’val’, the primitive type by ’type’.
Modifies the buffer in place, and returns the new index into the buffer.
Watch out, this function turns off most type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: skip-element ()

Skip an element in the buffer at the index of the given wire type.
Returns the new index in the buffer.
Watch out, this function turns off all type checking and all array bounds checking.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: slot-name->proto X

Given a Lisp slot name, returns a Protobufs field name. The second value is the fully qualified name, as a list.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: slot-to-protobuf-field CLASS SLOT INDEX SLOTS &key SLOT-FILTER TYPE-FILTER ENUM-FILTER VALUE-FILTER

Given a CLOS slot, return a Protobufs model object for it.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: undefined-field-type FORMAT-CONTROL OBJECT TYPE FIELD
Package

protobufs

Source

conditions.lisp (file)

Function: varint-length ()

Return the length that ’val’ will take when encoded as a varint integer.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: write-schema PROTOBUF &rest KEYS &key STREAM TYPE &allow-other-keys

Writes the object ’protobuf’ (schema, message, enum, etc) onto the stream ’stream’ in the format given by ’type’ (:proto, :text, etc).

Package

protobufs

Source

printer.lisp (file)

Function: write-schema-for-classes CLASSES &key STREAM TYPE NAME PACKAGE LISP-PACKAGE INSTALL SLOT-FILTER TYPE-FILTER ENUM-FILTER VALUE-FILTER ALIAS-EXISTING-CLASSES

Given a set of CLOS classes, generates a Protobufs schema for the classes and pretty prints the schema to the stream.
The return value is the schema.

Package

protobufs

Source

clos-transform.lisp (file)

Function: zig-zag-decode32 ()
Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: zig-zag-decode64 ()
Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: zig-zag-encode32 ()
Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: zig-zag-encode64 ()
Package

protobufs-implementation

Source

wire-format.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Generic functions

Generic Function: add-option PROTOBUF NAME VALUE &optional TYPE

Given a Protobufs schema, message, enum, etc
add the option called ’name’ with the value ’value’ and type ’type’. If the option was previoously present, it is replaced.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: add-option (OPTIONS list) (NAME string) VALUE &optional TYPE
Method: add-option (PROTOBUF base-protobuf) (NAME string) VALUE &optional TYPE
Generic Function: clear OBJECT

Initialize all of the fields of ’object’ to their default values.

Package

protobufs

Source

api.lisp (file)

Methods
Method: clear (OBJECT standard-object)
Generic Function: clear-extension OBJECT SLOT

Clears the value of the extended slot ’slot’ from ’object’

Package

protobufs

Source

model-classes.lisp (file)

Generic Function: clear-field OBJECT SLOT

Initialize the field ’slot’ of ’object’ to its default value.

Package

protobufs

Source

api.lisp (file)

Methods
Method: clear-field (OBJECT standard-object) SLOT
Generic Function: deserialize-object TYPE BUFFER &optional START END END-TAG

Deserializes an object of the given type ’type’ as a Protobufs object.
’type’ is the Lisp name of a Protobufs message (usually the name of a
Lisp class) or a ’protobuf-message’.
The encoded bytes are in the byte array given by ’buffer’ starting at
the fixnum index ’start’ up to the end of the buffer, given by ’end’.
’start’ defaults to 0, ’end’ defaults to the length of the buffer.
’end-tag’ is used internally to handle the (deprecated) "group" feature.
The return values are the object and the index at which deserialization stopped..

Package

protobufs

Source

serialize.lisp (file)

Methods
Method: deserialize-object (MESSAGE protobuf-message) BUFFER &optional START END END-TAG
Method: deserialize-object TYPE BUFFER &optional START END END-TAG
Generic Function: ensure-schema SCHEMA

Ensure that all of the types are defined in the Protobufs schema ’schema’. This returns two values:
- A list whose elements are (<undefined-type> "message:field" ...)
- The accumulated warnings table that has the same information as objects.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Methods
Method: ensure-schema (SCHEMA protobuf-schema)
Generic Function: error-field CONDITION
Package

protobufs

Methods
Method: error-field (CONDITION undefined-field-type)
Source

conditions.lisp (file)

Generic Function: error-method CONDITION
Package

protobufs

Methods
Method: error-method (CONDITION undefined-method-type)
Source

conditions.lisp (file)

Generic Function: error-type-name CONDITION
Package

protobufs

Methods
Method: error-type-name (CONDITION undefined-type)
Source

conditions.lisp (file)

Generic Function: find-enum PROTOBUF TYPE &optional RELATIVE-TO

Given a Protobufs schema or message and the name of an enum type, returns the Protobufs enum corresponding to the type.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: find-enum (MESSAGE protobuf-message) (NAME string) &optional RELATIVE-TO
Method: find-enum (MESSAGE protobuf-message) TYPE &optional RELATIVE-TO
Method: find-enum (SCHEMA protobuf-schema) (NAME string) &optional RELATIVE-TO
Method: find-enum (SCHEMA protobuf-schema) (TYPE symbol) &optional RELATIVE-TO
Generic Function: find-field MESSAGE NAME &optional RELATIVE-TO

Given a Protobufs message and a slot name, field name or index, returns the Protobufs field having that name.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: find-field (MESSAGE protobuf-message) (INDEX integer) &optional RELATIVE-TO
Method: find-field (MESSAGE protobuf-message) (NAME string) &optional RELATIVE-TO
Method: find-field (MESSAGE protobuf-message) (NAME symbol) &optional RELATIVE-TO
Generic Function: find-message PROTOBUF TYPE &optional RELATIVE-TO

Given a Protobufs schema or message and a type name or class name, returns the Protobufs message corresponding to the type.

Package

protobufs

Source

model-classes.lisp (file)

Methods
Method: find-message (MESSAGE protobuf-message) (NAME string) &optional RELATIVE-TO
Method: find-message (MESSAGE protobuf-message) (TYPE class) &optional RELATIVE-TO
Method: find-message (MESSAGE protobuf-message) (TYPE symbol) &optional RELATIVE-TO
Method: find-message (SCHEMA protobuf-schema) (NAME string) &optional RELATIVE-TO
Method: find-message (SCHEMA protobuf-schema) (TYPE class) &optional RELATIVE-TO
Method: find-message (SCHEMA protobuf-schema) (TYPE symbol) &optional RELATIVE-TO
Generic Function: find-message-for-class CLASS

Given a class or class name, return the message that globally has that name.

Package

protobufs

Source

model-classes.lisp (file)

Methods
Method: find-message-for-class (CLASS class)
Method: find-message-for-class CLASS

Given the name of a class (a symbol or string), return the ’protobuf-message’ for the class.

Generic Function: find-method SERVICE NAME

Given a Protobufs service and a method name, returns the Protobufs method having that name.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: find-method (SERVICE protobuf-service) (INDEX integer)
Method: find-method (SERVICE protobuf-service) (NAME string)
Method: find-method (SERVICE protobuf-service) (NAME symbol)
Generic Function: find-option PROTOBUF NAME

Given a Protobufs schema, message, enum, etc and the name of an option, returns the value of the option and its (Lisp) type. The third value is true if an option was found, otherwise it is false.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: find-option (OPTIONS list) (NAME string)
Method: find-option (PROTOBUF base-protobuf) (NAME string)
Generic Function: find-schema NAME

Given a name (a symbol or string), return the ’protobuf-schema’ object having that name.

Package

protobufs

Source

model-classes.lisp (file)

Methods
Method: find-schema (PATH pathname)

Given a pathname, return the ’protobuf-schema’ object that came from that path.

Method: find-schema (NAME symbol)
Generic Function: find-service PROTOBUF NAME

Given a Protobufs schema,returns the Protobufs service of the given name.

Package

protobufs

Source

model-classes.lisp (file)

Methods
Method: find-service SCHEMA-NAME NAME
Method: find-service (SCHEMA protobuf-schema) (NAME string)
Method: find-service (SCHEMA protobuf-schema) (NAME symbol)
Generic Function: find-type-alias PROTOBUF TYPE

Given a Protobufs schema or message and the name of a type alias, returns the Protobufs type alias corresponding to the name.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: find-type-alias (MESSAGE protobuf-message) TYPE
Method: find-type-alias (SCHEMA protobuf-schema) (TYPE symbol)
Generic Function: get-extension OBJECT SLOT

Returns the value of the extended slot ’slot’ in ’object’

Package

protobufs

Source

model-classes.lisp (file)

Generic Function: has-extension OBJECT SLOT

Returns true iff the there is an extended slot named ’slot’ in ’object’

Package

protobufs

Source

model-classes.lisp (file)

Methods
Method: has-extension (OBJECT standard-object) SLOT
Generic Function: has-field OBJECT SLOT

Returns true iff the field ’slot’ in ’object’ is initialized.

Package

protobufs

Source

api.lisp (file)

Methods
Method: has-field (OBJECT standard-object) SLOT
Generic Function: is-initialized OBJECT

Returns true iff all of the fields of ’object’ are initialized.

Package

protobufs

Source

api.lisp (file)

Methods
Method: is-initialized (OBJECT standard-object)
Generic Function: make-qualified-name PROTO NAME

Give a schema or message and a name,
generate a fully qualified name string for the name.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: make-qualified-name (MESSAGE protobuf-message) NAME
Method: make-qualified-name (ENUM protobuf-enum) NAME
Method: make-qualified-name (SCHEMA protobuf-schema) NAME
Generic Function: merge-from-array OBJECT BUFFER &optional START END

Deserialize the object encoded in ’buffer’ and merge it into ’object’. Deserialization starts at the index ’start’ and ends at ’end’. ’object’ must an object whose Lisp class corresponds to the message being deserialized.
The return value is the updated object.

Package

protobufs

Source

api.lisp (file)

Methods
Method: merge-from-array (OBJECT standard-object) BUFFER &optional START END
Generic Function: merge-from-message OBJECT SOURCE

Merge the fields from the source object ’source’ into ’object’.
The two objects must be of the same type.
Singular fields will be overwritten, with embedded messages being be merged. Repeated fields will be concatenated.
The return value is the updated object ’object’.

Package

protobufs

Source

api.lisp (file)

Methods
Method: merge-from-message (OBJECT standard-object) (SOURCE standard-object)
Generic Function: object-initialized-p OBJECT TYPE

Returns true iff all of the fields of ’object’ are initialized.

Package

protobufs

Source

api.lisp (file)

Methods
Method: object-initialized-p OBJECT (MESSAGE protobuf-message)
Method: object-initialized-p OBJECT (TYPE symbol)
Generic Function: object-size OBJECT TYPE &optional VISITED

Computes the size in bytes of the object ’object’ of type ’type’.
’type’ is the Lisp name of a Protobufs message (usually the name of a Lisp class) or a ’protobuf-message’.
’visited’ is either a hash table used to cache object sizes,
or is nil, in which case the objects must have a ’%cached-size’ slot in them. The return value is the size of the object in bytes.

Package

protobufs

Source

serialize.lisp (file)

Methods
Method: object-size OBJECT (MESSAGE protobuf-message) &optional VISITED
Method: object-size OBJECT TYPE &optional VISITED
Generic Function: octet-size OBJECT

Returns the number of octets required to encode ’object’ using the wire format. ’object’ is an object whose Lisp class corresponds to a Protobufs message.

Package

protobufs

Source

api.lisp (file)

Methods
Method: octet-size (OBJECT standard-object)
Generic Function: parse-text-format TYPE &key STREAM PARSE-NAME

Parses an object of type ’type’ from the stream ’stream’ using the textual format.

Package

protobufs

Source

text-format.lisp (file)

Methods
Method: parse-text-format (MESSAGE protobuf-message) &key STREAM PARSE-NAME
Method: parse-text-format (TYPE symbol) &key STREAM PARSE-NAME
Generic Function: print-text-format OBJECT &optional TYPE &key STREAM SUPPRESS-LINE-BREAKS PRINT-NAME

Prints the object ’object’ of type ’type’ onto the stream ’stream’ using the textual format.
If ’suppress-line-breaks’ is true, all the output is put on a single line.

Package

protobufs

Source

text-format.lisp (file)

Methods
Method: print-text-format OBJECT &optional TYPE &key STREAM SUPPRESS-LINE-BREAKS PRINT-NAME
Generic Function: proto-alias-for OBJECT
Generic Function: (setf proto-alias-for) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-alias-for (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-alias-for) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-alias-for (PROTOBUF-ENUM protobuf-enum)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-alias-for) NEW-VALUE (PROTOBUF-ENUM protobuf-enum)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-class OBJECT
Generic Function: (setf proto-class) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-class (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-class) NEW-VALUE (BASE-PROTOBUF base-protobuf)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-client-stub OBJECT
Generic Function: (setf proto-client-stub) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-client-stub (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-client-stub) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-conc-name OBJECT
Generic Function: (setf proto-conc-name) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-conc-name (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-conc-name) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-default OBJECT
Generic Function: (setf proto-default) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-default (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-default) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-deserializer OBJECT
Package

protobufs-implementation

Methods
Method: proto-deserializer (PROTOBUF-TYPE-ALIAS protobuf-type-alias)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: proto-documentation OBJECT
Generic Function: (setf proto-documentation) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-documentation (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-documentation) NEW-VALUE (BASE-PROTOBUF base-protobuf)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-enums OBJECT
Generic Function: (setf proto-enums) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-enums (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-enums) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-enums (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-enums) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-extended-fields OBJECT
Generic Function: (setf proto-extended-fields) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-extended-fields (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-extended-fields) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-extenders OBJECT
Generic Function: (setf proto-extenders) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-extenders (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-extenders) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-extenders (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-extenders) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-extension-from OBJECT
Generic Function: (setf proto-extension-from) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-extension-from (PROTOBUF-EXTENSION protobuf-extension)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-extension-from) NEW-VALUE (PROTOBUF-EXTENSION protobuf-extension)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-extension-to OBJECT
Generic Function: (setf proto-extension-to) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-extension-to (PROTOBUF-EXTENSION protobuf-extension)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-extension-to) NEW-VALUE (PROTOBUF-EXTENSION protobuf-extension)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-extensions OBJECT
Generic Function: (setf proto-extensions) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-extensions (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-extensions) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-fields OBJECT
Generic Function: (setf proto-fields) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-fields (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-fields) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-fields (PROTOBUF-ONEOF protobuf-oneof)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-fields) NEW-VALUE (PROTOBUF-ONEOF protobuf-oneof)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-imported-schemas OBJECT
Generic Function: (setf proto-imported-schemas) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-imported-schemas (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-imported-schemas) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-imports OBJECT
Generic Function: (setf proto-imports) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-imports (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-imports) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-index OBJECT
Generic Function: (setf proto-index) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-index (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-index) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-index (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-index) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-index (PROTOBUF-ENUM-VALUE protobuf-enum-value)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-index) NEW-VALUE (PROTOBUF-ENUM-VALUE protobuf-enum-value)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-input-name OBJECT
Generic Function: (setf proto-input-name) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-input-name (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-input-name) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-input-type OBJECT
Generic Function: (setf proto-input-type) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-input-type (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-input-type) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-lisp-package OBJECT
Generic Function: (setf proto-lisp-package) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-lisp-package (MESSAGE protobuf-message)
Source

model-classes.lisp (file)

Method: proto-lisp-package (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-lisp-package) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-lisp-type OBJECT
Package

protobufs-implementation

Methods
Method: proto-lisp-type (PROTOBUF-TYPE-ALIAS protobuf-type-alias)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: proto-message-type OBJECT
Generic Function: (setf proto-message-type) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-message-type (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-message-type) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-message-type (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-message-type) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-messages OBJECT
Generic Function: (setf proto-messages) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-messages (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-messages) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-messages (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-messages) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-methods OBJECT
Generic Function: (setf proto-methods) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-methods (PROTOBUF-SERVICE protobuf-service)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-methods) NEW-VALUE (PROTOBUF-SERVICE protobuf-service)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-name OBJECT
Package

protobufs-implementation

Methods
Method: proto-name (PROTOBUF-OPTION protobuf-option)

automatically generated reader method

Source

model-classes.lisp (file)

Method: proto-name (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: proto-options OBJECT
Generic Function: (setf proto-options) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-options (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-options) NEW-VALUE (BASE-PROTOBUF base-protobuf)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-output-name OBJECT
Generic Function: (setf proto-output-name) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-output-name (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-output-name) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-output-type OBJECT
Generic Function: (setf proto-output-type) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-output-type (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-output-type) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-package OBJECT
Generic Function: (setf proto-package) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-package (MESSAGE protobuf-message)
Source

model-classes.lisp (file)

Method: proto-package (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-package) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-packed OBJECT
Generic Function: (setf proto-packed) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-packed (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-packed) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-parent OBJECT
Generic Function: (setf proto-parent) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-parent (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-parent) NEW-VALUE (BASE-PROTOBUF base-protobuf)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-proto-type OBJECT
Package

protobufs-implementation

Methods
Method: proto-proto-type (PROTOBUF-TYPE-ALIAS protobuf-type-alias)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: proto-qualified-name OBJECT
Generic Function: (setf proto-qualified-name) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-qualified-name (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-qualified-name) NEW-VALUE (BASE-PROTOBUF base-protobuf)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-reader OBJECT
Generic Function: (setf proto-reader) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-reader (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-reader) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-required OBJECT
Generic Function: (setf proto-required) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-required (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-required) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-serializer OBJECT
Package

protobufs-implementation

Methods
Method: proto-serializer (PROTOBUF-TYPE-ALIAS protobuf-type-alias)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: proto-server-stub OBJECT
Generic Function: (setf proto-server-stub) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-server-stub (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-server-stub) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-services OBJECT
Generic Function: (setf proto-services) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-services (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-services) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-slot FIELD
Generic Function: (setf proto-slot) SLOT FIELD
Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: proto-slot (FIELD protobuf-field)
Method: (setf proto-slot) SLOT (FIELD protobuf-field)
Generic Function: proto-source-location OBJECT
Generic Function: (setf proto-source-location) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-source-location (BASE-PROTOBUF base-protobuf)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-source-location) NEW-VALUE (BASE-PROTOBUF base-protobuf)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-streams-name OBJECT
Generic Function: (setf proto-streams-name) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-streams-name (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-streams-name) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-streams-type OBJECT
Generic Function: (setf proto-streams-type) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-streams-type (PROTOBUF-METHOD protobuf-method)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-streams-type) NEW-VALUE (PROTOBUF-METHOD protobuf-method)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-syntax OBJECT
Generic Function: (setf proto-syntax) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-syntax (MESSAGE protobuf-message)
Source

model-classes.lisp (file)

Method: proto-syntax (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-syntax) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-type OBJECT
Generic Function: (setf proto-type) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-type (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-type) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-type (PROTOBUF-OPTION protobuf-option)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: proto-type-aliases OBJECT
Generic Function: (setf proto-type-aliases) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-type-aliases (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-type-aliases) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-type-aliases (PROTOBUF-SCHEMA protobuf-schema)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-type-aliases) NEW-VALUE (PROTOBUF-SCHEMA protobuf-schema)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-value OBJECT
Generic Function: (setf proto-value) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-value (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-value) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-value (PROTOBUF-ENUM-VALUE protobuf-enum-value)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-value) NEW-VALUE (PROTOBUF-ENUM-VALUE protobuf-enum-value)

automatically generated writer method

Source

model-classes.lisp (file)

Method: proto-value (PROTOBUF-OPTION protobuf-option)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-value) NEW-VALUE (PROTOBUF-OPTION protobuf-option)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-values OBJECT
Generic Function: (setf proto-values) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-values (PROTOBUF-ENUM protobuf-enum)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-values) NEW-VALUE (PROTOBUF-ENUM protobuf-enum)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-writer OBJECT
Generic Function: (setf proto-writer) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-writer (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-writer) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: reinitialize-field OBJECT MESSAGE FIELD
Package

protobufs

Source

api.lisp (file)

Methods
Method: reinitialize-field OBJECT (MESSAGE protobuf-message) FIELD
Generic Function: reinitialize-object OBJECT TYPE

Reset all the fields of ’object’ to their initial values.

Package

protobufs

Source

api.lisp (file)

Methods
Method: reinitialize-object OBJECT (MESSAGE protobuf-message)
Method: reinitialize-object OBJECT (TYPE symbol)
Generic Function: reinitialize-slot OBJECT MESSAGE SLOT
Package

protobufs

Source

api.lisp (file)

Methods
Method: reinitialize-slot OBJECT (MESSAGE protobuf-message) SLOT
Generic Function: remove-options PROTOBUF &rest NAMES

Given a Protobufs schema, message, enum, etc and a set of option names, remove all of those options from the set of options.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: remove-options (OPTIONS list) &rest NAMES
Method: remove-options (PROTOBUF base-protobuf) &rest NAMES
Generic Function: schema-upgradable OLD NEW &optional OLD-PARENT NEW-PARENT

Returns true if and only if the old Protobufs schema can be upgraded to
the new schema.
’old’ is the old object (schema, enum, message, etc), ’new’ is the new one. ’old-parent’ is the "parent" of ’old’, ’new-parent’ is the parent of ’new’. If the schema is not upgradable, the second value is a list of warnings.

Package

protobufs

Source

upgradable.lisp (file)

Methods
Method: schema-upgradable (OLD protobuf-method) (NEW protobuf-method) &optional OLD-SERVICE NEW-SERVICE
Method: schema-upgradable (OLD protobuf-service) (NEW protobuf-service) &optional OLD-PARENT NEW-PARENT
Method: schema-upgradable (OLD protobuf-field) (NEW protobuf-field) &optional OLD-MESSAGE NEW-MESSAGE
Method: schema-upgradable (OLD protobuf-message) (NEW protobuf-message) &optional OLD-PARENT NEW-PARENT
Method: schema-upgradable (OLD protobuf-enum-value) (NEW protobuf-enum-value) &optional OLD-ENUM NEW-ENUM
Method: schema-upgradable (OLD protobuf-enum) (NEW protobuf-enum) &optional OLD-PARENT NEW-PARENT
Method: schema-upgradable (OLD protobuf-schema) (NEW protobuf-schema) &optional OLD-PARENT NEW-PARENT
Generic Function: schemas-equal SCHEMA1 PROTO2

Returns true if and only if the two Protobufs schemas are equal.

Package

protobufs

Source

upgradable.lisp (file)

Methods
Method: schemas-equal (METHOD1 protobuf-method) (METHOD2 protobuf-method)
Method: schemas-equal (SERVICE1 protobuf-service) (SERVICE2 protobuf-service)
Method: schemas-equal (EXTENSION1 protobuf-extension) (EXTENSION2 protobuf-extension)
Method: schemas-equal (FIELD1 protobuf-field) (FIELD2 protobuf-field)
Method: schemas-equal (MESSAGE1 protobuf-message) (MESSAGE2 protobuf-message)
Method: schemas-equal (VALUE1 protobuf-enum-value) (VALUE2 protobuf-enum-value)
Method: schemas-equal (ENUM1 protobuf-enum) (ENUM2 protobuf-enum)
Method: schemas-equal (OPTION1 protobuf-option) (OPTION2 protobuf-option)
Method: schemas-equal (SCHEMA1 protobuf-schema) (SCHEMA2 protobuf-schema)
Generic Function: serialize OBJECT &optional BUFFER START END

Serialize ’object’ into ’buffer’ using the wire format, starting at the index ’start’ and going no farther than ’end’. ’object’ is an object whose Lisp class corresponds to a Protobufs message.
Returns two values, the final index and the buffer.

Package

protobufs

Source

api.lisp (file)

Methods
Method: serialize (OBJECT standard-object) &optional BUFFER START END
Generic Function: serialize-object OBJECT TYPE BUFFER &optional START VISITED

Serializes the object ’object’ of type ’type’ into the byte array ’buffer’ using the wire format.
’type’ is the Lisp name of a Protobufs message (usually the name of a Lisp class) or a ’protobuf-message’.
The object is serialized into the byte array given by ’buffer’ starting at the fixnum index ’index’ using the wire format.
’visited’ is a hash table used to cache object sizes; if this is nil, then the object caches its size itself in a ’%cached-size’ slot.
The return value is the buffer containing the serialized object.

Package

protobufs

Source

serialize.lisp (file)

Methods
Method: serialize-object OBJECT (MESSAGE protobuf-message) BUFFER &optional START VISITED
Method: serialize-object OBJECT TYPE BUFFER &optional START VISITED
Generic Function: set-extension OBJECT SLOT VALUE

Sets the value of the extended slot ’slot’ to ’value’ in ’object’

Package

protobufs

Source

model-classes.lisp (file)

Generic Function: slot-initialized-p OBJECT TYPE SLOT

Returns true iff the field ’slot’ in ’object’ is initialized.

Package

protobufs

Source

api.lisp (file)

Methods
Method: slot-initialized-p OBJECT (MESSAGE protobuf-message) SLOT
Method: slot-initialized-p OBJECT (TYPE symbol) SLOT
Generic Function: write-schema-as TYPE PROTOBUF STREAM &key INDENTATION MORE MESSAGE INDEX ARITY SHOW-FIELD-INDEXES SHOW-ENUM-INDEXES USE-COMMON-LISP &allow-other-keys

Writes the protobuf object ’protobuf’ (schema, message, enum, etc) onto
the given stream ’stream’ in the format given by ’type’ (:proto, :text, etc). If ’more’ is true, this means there are more enum values, fields, etc to be written after the current one.

Package

protobufs-implementation

Source

printer.lisp (file)

Methods
Method: write-schema-as (TYPE (eql lisp)) (METHOD protobuf-method) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (SERVICE protobuf-service) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (EXTENSION protobuf-extension) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (FIELD protobuf-field) STREAM &key INDENTATION MORE MESSAGE
Method: write-schema-as (TYPE (eql lisp)) (MESSAGE protobuf-message) STREAM &key INDENTATION MORE INDEX ARITY
Method: write-schema-as (TYPE (eql lisp)) (ALIAS protobuf-type-alias) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (VAL protobuf-enum-value) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (ENUM protobuf-enum) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (ONEOF protobuf-oneof) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql lisp)) (SCHEMA protobuf-schema) STREAM &key INDENTATION SHOW-FIELD-INDEXES SHOW-ENUM-INDEXES USE-COMMON-LISP
Method: write-schema-as (TYPE (eql proto)) (METHOD protobuf-method) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql proto)) (SERVICE protobuf-service) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql proto)) (EXTENSION protobuf-extension) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql proto)) (FIELD protobuf-field) STREAM &key INDENTATION MORE MESSAGE
Method: write-schema-as (TYPE (eql proto)) (MESSAGE protobuf-message) STREAM &key INDENTATION MORE INDEX ARITY
Method: write-schema-as (TYPE (eql proto)) (ALIAS protobuf-type-alias) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql proto)) (VAL protobuf-enum-value) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql proto)) (ENUM protobuf-enum) STREAM &key INDENTATION MORE
Method: write-schema-as (TYPE (eql proto)) (SCHEMA protobuf-schema) STREAM &key INDENTATION

Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.7 Conditions

Condition: protobufs-warning ()
Package

protobufs-implementation

Source

utilities.lisp (file)

Direct superclasses
  • simple-condition (condition)
  • warning (condition)
Condition: serialization-error ()

Indicates that some sort of (de)serialization error has occurred.

Package

protobufs

Source

conditions.lisp (file)

Direct superclasses

simple-error (condition)

Direct Default Initargs
InitargValue
:format-control"serialization error"
Condition: undefined-field-type ()

Indicates that a schema contains a message with a field whose type is not a primitive type and is not a known message (or extend) or enum.

Package

protobufs

Source

conditions.lisp (file)

Direct superclasses

undefined-type (condition)

Direct methods

error-field (method)

Direct slots
Slot: field
Initargs

:field

Readers

error-field (generic function)

Condition: undefined-input-type ()
Package

protobufs

Source

conditions.lisp (file)

Direct superclasses

undefined-method-type (condition)

Direct Default Initargs
InitargValue
:where"input"
Condition: undefined-output-type ()
Package

protobufs

Source

conditions.lisp (file)

Direct superclasses

undefined-method-type (condition)

Direct Default Initargs
InitargValue
:where"output"
Condition: undefined-stream-type ()
Package

protobufs

Source

conditions.lisp (file)

Direct superclasses

undefined-method-type (condition)

Direct Default Initargs
InitargValue
:where"stream"

Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.8 Classes

Class: abstract-protobuf ()
Package

protobufs-implementation

Source

model-classes.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Class: base-protobuf ()

The base class for all Protobufs model classes.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Direct superclasses

abstract-protobuf (class)

Direct subclasses
Direct methods
Direct slots
Slot: class
Type

(or null symbol)

Initargs

:class

Readers

proto-class (generic function)

Writers

(setf proto-class) (generic function)

Slot: name
Type

(or null string)

Initargs

:name

Readers

proto-name (generic function)

Slot: qual-name
Type

string

Initargs

:qualified-name

Initform

""

Readers

proto-qualified-name (generic function)

Writers

(setf proto-qualified-name) (generic function)

Slot: parent
Type

(or null protobufs-implementation:base-protobuf)

Initargs

:parent

Readers

proto-parent (generic function)

Writers

(setf proto-parent) (generic function)

Slot: options
Type

(protobufs:list-of protobufs:protobuf-option)

Initargs

:options

Readers

proto-options (generic function)

Writers

(setf proto-options) (generic function)

Slot: doc
Type

(or null string)

Initargs

:documentation

Readers

proto-documentation (generic function)

Writers

(setf proto-documentation) (generic function)

Slot: location
Initargs

:source-location

Readers

proto-source-location (generic function)

Writers

(setf proto-source-location) (generic function)

Class: base-protobuf-message ()

The base class for all user-defined Protobufs messages.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %cached-size
Type

(or null fixnum)

Class: protobuf-enum ()

The model class that represents a Protobufs enumeration type.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: alias
Type

(or null symbol)

Initargs

:alias-for

Readers

proto-alias-for (generic function)

Writers

(setf proto-alias-for) (generic function)

Slot: values
Type

(protobufs:list-of protobufs:protobuf-enum-value)

Initargs

:values

Readers

proto-values (generic function)

Writers

(setf proto-values) (generic function)

Class: protobuf-enum-value ()

The model class that represents a Protobufs enumeration value.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: index
Type

(signed-byte 32)

Initargs

:index

Readers

proto-index (generic function)

Writers

(setf proto-index) (generic function)

Slot: value
Type

(or null symbol)

Initargs

:value

Readers

proto-value (generic function)

Writers

(setf proto-value) (generic function)

Class: protobuf-extension ()

The model class that represents an extension range within a Protobufs message.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

abstract-protobuf (class)

Direct methods
Direct slots
Slot: from
Type

(integer 1 536870911)

Initargs

:from

Readers

proto-extension-from (generic function)

Writers

(setf proto-extension-from) (generic function)

Slot: to
Type

(integer 1 536870911)

Initargs

:to

Readers

proto-extension-to (generic function)

Writers

(setf proto-extension-to) (generic function)

Class: protobuf-field ()

The model class that represents one field within a Protobufs message.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: type
Type

string

Initargs

:type

Readers

proto-type (generic function)

Writers

(setf proto-type) (generic function)

Slot: required
Type

(member :required :optional :repeated)

Initargs

:required

Readers

proto-required (generic function)

Writers

(setf proto-required) (generic function)

Slot: index
Type

(unsigned-byte 29)

Initargs

:index

Readers

proto-index (generic function)

Writers

(setf proto-index) (generic function)

Slot: value
Type

(or null symbol)

Initargs

:value

Readers

proto-value (generic function)

Writers

(setf proto-value) (generic function)

Slot: reader
Type

(or null symbol)

Initargs

:reader

Readers

proto-reader (generic function)

Writers

(setf proto-reader) (generic function)

Slot: writer
Type

(or null symbol list)

Initargs

:writer

Readers

proto-writer (generic function)

Writers

(setf proto-writer) (generic function)

Slot: default
Initargs

:default

Initform

protobufs-implementation::$empty-default

Readers

proto-default (generic function)

Writers

(setf proto-default) (generic function)

Slot: packed
Type

(member t nil)

Initargs

:packed

Readers

proto-packed (generic function)

Writers

(setf proto-packed) (generic function)

Slot: message-type
Type

(member :message :group :extends)

Initargs

:message-type

Initform

:message

Readers

proto-message-type (generic function)

Writers

(setf proto-message-type) (generic function)

Slot: oneof
Type

(or null protobufs-implementation::proto-oneof)

Initargs

:oneof

Readers

proto-oneof (generic function)

Writers

(setf proto-oneof) (generic function)

Class: protobuf-message ()

The model class that represents a Protobufs message.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: conc
Type

(or null string)

Initargs

:conc-name

Readers

proto-conc-name (generic function)

Writers

(setf proto-conc-name) (generic function)

Slot: alias
Type

(or null symbol)

Initargs

:alias-for

Readers

proto-alias-for (generic function)

Writers

(setf proto-alias-for) (generic function)

Slot: enums
Type

(protobufs:list-of protobufs:protobuf-enum)

Initargs

:enums

Readers

proto-enums (generic function)

Writers

(setf proto-enums) (generic function)

Slot: messages
Type

(protobufs:list-of protobufs:protobuf-message)

Initargs

:messages

Readers

proto-messages (generic function)

Writers

(setf proto-messages) (generic function)

Slot: extenders
Type

(protobufs:list-of protobufs:protobuf-message)

Initargs

:extenders

Readers

proto-extenders (generic function)

Writers

(setf proto-extenders) (generic function)

Slot: fields
Type

(protobufs:list-of protobufs:protobuf-field)

Initargs

:fields

Readers

proto-fields (generic function)

Writers

(setf proto-fields) (generic function)

Slot: oneofs
Type

(protobufs:list-of protobufs:protobuf-oneof)

Initargs

:oneofs

Readers

proto-oneofs (generic function)

Writers

(setf proto-oneofs) (generic function)

Slot: extended-fields
Type

(protobufs:list-of protobufs:protobuf-field)

Readers

proto-extended-fields (generic function)

Writers

(setf proto-extended-fields) (generic function)

Slot: extensions
Type

(protobufs:list-of protobufs:protobuf-extension)

Initargs

:extensions

Readers

proto-extensions (generic function)

Writers

(setf proto-extensions) (generic function)

Slot: message-type
Type

(member :message :group :extends)

Initargs

:message-type

Initform

:message

Readers

proto-message-type (generic function)

Writers

(setf proto-message-type) (generic function)

Slot: aliases
Type

(protobufs:list-of protobufs:protobuf-type-alias)

Initargs

:type-aliases

Readers

proto-type-aliases (generic function)

Writers

(setf proto-type-aliases) (generic function)

Class: protobuf-method ()

The model class that represents one method with a Protobufs service.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: client-fn
Type

symbol

Initargs

:client-stub

Readers

proto-client-stub (generic function)

Writers

(setf proto-client-stub) (generic function)

Slot: server-fn
Type

symbol

Initargs

:server-stub

Readers

proto-server-stub (generic function)

Writers

(setf proto-server-stub) (generic function)

Slot: itype
Type

symbol

Initargs

:input-type

Readers

proto-input-type (generic function)

Writers

(setf proto-input-type) (generic function)

Slot: iname
Type

(or null string)

Initargs

:input-name

Readers

proto-input-name (generic function)

Writers

(setf proto-input-name) (generic function)

Slot: otype
Type

symbol

Initargs

:output-type

Readers

proto-output-type (generic function)

Writers

(setf proto-output-type) (generic function)

Slot: oname
Type

(or null string)

Initargs

:output-name

Readers

proto-output-name (generic function)

Writers

(setf proto-output-name) (generic function)

Slot: stype
Type

(or symbol null)

Initargs

:streams-type

Readers

proto-streams-type (generic function)

Writers

(setf proto-streams-type) (generic function)

Slot: sname
Type

(or null string)

Initargs

:streams-name

Readers

proto-streams-name (generic function)

Writers

(setf proto-streams-name) (generic function)

Slot: index
Type

(unsigned-byte 32)

Initargs

:index

Readers

proto-index (generic function)

Writers

(setf proto-index) (generic function)

Class: protobuf-oneof ()

The model class that represents a Protobufs oneof type.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: fields
Type

(protobufs:list-of protobufs:protobuf-field)

Initargs

:fields

Readers

proto-fields (generic function)

Writers

(setf proto-fields) (generic function)

Class: protobuf-option ()

The model class that represents a Protobufs options, i.e., a keyword/value pair.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

abstract-protobuf (class)

Direct methods
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

proto-name (generic function)

Slot: value
Initargs

:value

Readers

proto-value (generic function)

Writers

(setf proto-value) (generic function)

Slot: type
Type

(or null symbol)

Initargs

:type

Initform

(quote string)

Readers

proto-type (generic function)

Class: protobuf-schema ()

The model class that represents a Protobufs schema, i.e., one .proto file.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: syntax
Type

(or null string)

Initargs

:syntax

Initform

"proto2"

Readers

proto-syntax (generic function)

Writers

(setf proto-syntax) (generic function)

Slot: package
Type

(or null string)

Initargs

:package

Readers

proto-package (generic function)

Writers

(setf proto-package) (generic function)

Slot: lisp-pkg
Type

(or null string)

Initargs

:lisp-package

Readers

proto-lisp-package (generic function)

Writers

(setf proto-lisp-package) (generic function)

Slot: imports
Type

(protobufs:list-of string)

Initargs

:imports

Readers

proto-imports (generic function)

Writers

(setf proto-imports) (generic function)

Slot: schemas
Type

(protobufs:list-of protobufs:protobuf-schema)

Readers

proto-imported-schemas (generic function)

Writers

(setf proto-imported-schemas) (generic function)

Slot: enums
Type

(protobufs:list-of protobufs:protobuf-enum)

Initargs

:enums

Readers

proto-enums (generic function)

Writers

(setf proto-enums) (generic function)

Slot: messages
Type

(protobufs:list-of protobufs:protobuf-message)

Initargs

:messages

Readers

proto-messages (generic function)

Writers

(setf proto-messages) (generic function)

Slot: extenders
Type

(protobufs:list-of protobufs:protobuf-message)

Initargs

:extenders

Readers

proto-extenders (generic function)

Writers

(setf proto-extenders) (generic function)

Slot: services
Type

(protobufs:list-of protobufs:protobuf-service)

Initargs

:services

Readers

proto-services (generic function)

Writers

(setf proto-services) (generic function)

Slot: aliases
Type

(protobufs:list-of protobufs:protobuf-type-alias)

Initargs

:type-aliases

Readers

proto-type-aliases (generic function)

Writers

(setf proto-type-aliases) (generic function)

Class: protobuf-service ()

The model class that represents a Protobufs service.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: methods
Type

(protobufs:list-of protobufs:protobuf-method)

Initargs

:methods

Readers

proto-methods (generic function)

Writers

(setf proto-methods) (generic function)

Class: protobuf-type-alias ()

The model class that represents a Protobufs type alias.

Package

protobufs

Source

model-classes.lisp (file)

Direct superclasses

base-protobuf (class)

Direct methods
Direct slots
Slot: lisp-type
Initargs

:lisp-type

Readers

proto-lisp-type (generic function)

Slot: proto-type
Initargs

:proto-type

Readers

proto-proto-type (generic function)

Slot: proto-type-str
Initargs

:proto-type-str

Readers

proto-proto-type-str (generic function)

Slot: serializer
Initargs

:serializer

Readers

proto-serializer (generic function)

Slot: deserializer
Initargs

:deserializer

Readers

proto-deserializer (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.9 Types

Type: byte-vector ()
Package

protobufs

Source

utilities.lisp (file)

Type: fixed32 ()
Package

protobufs

Source

utilities.lisp (file)

Type: fixed64 ()
Package

protobufs

Source

utilities.lisp (file)

Type: int32 ()
Package

protobufs

Source

utilities.lisp (file)

Type: int64 ()
Package

protobufs

Source

utilities.lisp (file)

Type: list-of TYPE
Package

protobufs

Source

utilities.lisp (file)

Type: sfixed32 ()
Package

protobufs

Source

utilities.lisp (file)

Type: sfixed64 ()
Package

protobufs

Source

utilities.lisp (file)

Type: sint32 ()
Package

protobufs

Source

utilities.lisp (file)

Type: sint64 ()
Package

protobufs

Source

utilities.lisp (file)

Type: uint32 ()
Package

protobufs

Source

utilities.lisp (file)

Type: uint64 ()
Package

protobufs

Source

utilities.lisp (file)

Type: vector-of TYPE
Package

protobufs

Source

utilities.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: $empty-default

The marker used in ’proto-default’ used to indicate that there is no default value.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Constant: $empty-list
Package

protobufs-implementation

Source

model-classes.lisp (file)

Constant: $empty-vector
Package

protobufs-implementation

Source

model-classes.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Special variables

Special Variable: $optimize-default

Compiler optimization settings for safe, debuggable code.

Package

protobufs-implementation

Source

utilities.lisp (file)

Special Variable: $optimize-fast-unsafe

Compiler optimization settings for fast, unsafe, hard-to-debug code.

Package

protobufs-implementation

Source

utilities.lisp (file)

Special Variable: $optimize-serialization
Package

protobufs-implementation

Source

wire-format.lisp (file)

Special Variable: *camel-case-field-names*
Package

protobufs-implementation

Source

utilities.lisp (file)

Special Variable: *lisp-options*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *option-types*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *proto-name-separators*
Package

protobufs-implementation

Source

utilities.lisp (file)

Special Variable: *protobuf-enum-comment-column*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *protobuf-field-comment-column*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *protobuf-rpc-package*

Bound to the Lisp package in which the Protobufs schema’s service definitions are being defined.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Special Variable: *protobuf-slot-comment-column*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *show-lisp-enum-indexes*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *show-lisp-field-indexes*
Package

protobufs-implementation

Source

printer.lisp (file)

Special Variable: *suppress-line-breaks*

When true, don’t generate line breaks in the text format

Package

protobufs-implementation

Source

text-format.lisp (file)

Special Variable: *undefined-messages*

Bound to a list of undefined messages during schame validation.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Special Variable: *upgrade-warnings*

Bound to the list of upgrade warning messages.

Package

protobufs-implementation

Source

upgradable.lisp (file)

Special Variable: *use-common-lisp-package*
Package

protobufs-implementation

Source

printer.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Macros

Macro: appendf PLACE TAIL

Append ’tail’ to the list given by ’place’, then set the place to the new list.

Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: doseq (VAR SEQUENCE &optional VALUE) &body BODY

Iterates over a sequence, using ’dolist’ or ’dovector’ depending on the type of the sequence. In optimized code, this turns out to be faster than (map () #’f sequence).
Note that the body gets expanded twice!

Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: dovector (VAR VECTOR &optional VALUE) &body BODY

Like ’dolist’, but iterates over the vector ’vector’.

Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: gen-zig-zag BITS

Generate 32- or 64-bit versions of zig-zag encoder/decoder.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Macro: generate-integer-decoders BITS

Generate 32- or 64-bit versions of integer decoders.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Macro: generate-integer-encoders BITS

Generate 32- or 64-bit versions of integer encoders.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Macro: i* &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i+ &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i- NUMBER &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i< &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i<= &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i= &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i> &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: i>= &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: iash VALUE COUNT
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: idecf PLACE &optional DELTA
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: iincf PLACE &optional DELTA
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: ildb BYTESPEC VALUE
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: ilogand &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: ilogbitp INDEX INTEGER
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: ilogior &rest FIXNUMS
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: upgrade-assert (PREDICATE OLD NEW) FORMAT-STRING &optional NAME

Assert that the condition is true, otherwise issue an upgrade warning.

Package

protobufs-implementation

Source

upgradable.lisp (file)

Macro: with-collectors (&rest COLLECTION-DESCRIPTIONS) &body BODY

’collection-descriptions’ is a list of clauses of the form (coll function). The body can call each ’function’ to add a value to ’coll’. ’function’ runs in constant time, regardless of the length of the list.

Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: with-gensyms (&rest BINDINGS) &body BODY
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: with-prefixed-accessors NAMES (PREFIX OBJECT) &body BODY
Package

protobufs-implementation

Source

utilities.lisp (file)

Macro: with-proto-source-location (TYPE NAME DEFINITION-TYPE &optional PATHNAME START-POS END-POS) &body BODY

Establish a context which causes the generated Lisp code to have
source location information that points to the .proto file.
’type’ is the name of the Lisp definition (a symbol).
’name’ is the name of the Protobufs definition (a string). ’definition-type’ is the kind of definition, e.g., ’protobuf-enum’. ’pathname’, ’start-pos’ and ’end-pos’ give the location of the definition in the .proto file.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Macro: without-redefinition-warnings () &body BODY
Package

protobufs-implementation

Source

utilities.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Compiler macros

Compiler Macro: curry FUNCTION &rest ARGS
Package

protobufs-implementation

Source

utilities.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Functions

Function: %make-source-location &key (PATHNAME PATHNAME) (START-POS START-POS) (END-POS END-POS)
Package

protobufs-implementation

Source

parser.lisp (file)

Function: boolean-true-p X

Returns t or nil given a value that might be a boolean.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: cached-object-size ()
Function: (setf cached-object-size) ()
Package

protobufs-implementation

Source

serialize.lisp (file)

Function: camel-case STRING &optional SEPARATORS

Take a hyphen-separated string and turn it into a camel-case string.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: camel-case-but-one STRING &optional SEPARATORS

Take a hyphen-separated string and turn its tail into a camel-case string.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: conc-name-for-type TYPE CONC-NAME
Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: copy-source-location SEQUENCE

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

Package

protobufs-implementation

Source

SYS:SRC;CODE;SEQ.LISP (not found)

Function: curry FUNCTION &rest ARGS

Returns a function that applies ’function’ to ’args’, plus any additional arguments given at the call site.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: do-process-import IMPORT &key SEARCH-PATH OUTPUT-PATH
Package

protobufs-implementation

Source

asdf-support.lisp (file)

Function: double-float-bits X
Package

protobufs-implementation

Source

utilities.lisp (file)

Function: ends-with STRING SUFFIX &key END

Returns true if ’string’ ends with the prefix ’prefix’ (case insensitive).

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: ensure-type TRACE MESSAGE FIELD TYPE
Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: escape-char CH

The inverse of ’unescape-char’, for printing.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: escape-string STRING
Package

protobufs-implementation

Source

printer.lisp (file)

Function: expect-char STREAM CHAR &optional CHARS WITHIN

Expect to see ’char’ as the next character in the stream; signal an error if it’s not there. Then skip all of the following whitespace.
The return value is the character that was eaten.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: find-proto-package NAME

A very fuzzy definition of ’find-package’.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: find-qualified-name NAME PROTOS &key PROTO-KEY FULL-KEY RELATIVE-TO

Find something by its string name, first doing a simple name match, and, if that fails, exhaustively searching qualified names.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Function: find-slot-definition-reader CLASS SLOTD

Given a class and a slot descriptor, find the name of a reader method for the slot.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: find-slot-definition-type CLASS SLOTD

Given a class and a slot descriptor, find the "best" type definition for the slot.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: fintern FORMAT-STRING &rest FORMAT-ARGS

Interns a new symbol in the current package.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: fold-symbol X

Given an expression ’x’, constant-fold it until it can be folded no more.

Package

protobufs-implementation

Source

wire-format.lisp (file)

Function: generate-message-forms TYPE FIELDS ENV &aux INDEX

Generates the forms used by DEFINE-MESSAGE and DEFINE-GROUP.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: generate-oneof-setf-methods ONEOFS CLASS
Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: index-within-extensions-p INDEX MESSAGE
Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: keywordify X

Given a symbol designator ’x’, return a keyword whose name is ’x’. If ’x’ is nil, this returns nil.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: kintern FORMAT-STRING &rest FORMAT-ARGS

Interns a new symbol in the keyword package.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: list-of-list-of ()
Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: make-double-float LOW HIGH
Package

protobufs-implementation

Source

utilities.lisp (file)

Function: make-lisp-symbol STRING

Intern a string of the ’package:string’ and return the symbol.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: make-single-float BITS
Package

protobufs-implementation

Source

utilities.lisp (file)

Function: make-source-location STREAM START END

Create a "source locator" for the stream at the current position. With any luck, we can get meta-dot to pay attention to it.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: maybe-qualified-name X &optional NAME

Given a message, return a fully qualified name if the short name is not sufficient to name the message in the current scope.

Package

protobufs-implementation

Source

printer.lisp (file)

Function: maybe-skip-chars STREAM CHARS

Skip some optional characters in the stream, then skip all of the following whitespace.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: maybe-skip-comments STREAM

If what appears next in the stream is a comment, skip it and any following comments, then skip any following whitespace.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: option-name= NAME1 NAME2
Package

protobufs-implementation

Source

model-classes.lisp (file)

Function: packed-type-p TYPE

Returns true if the given Protobufs type can use a packed field.

Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: parse-error-position STREAM
Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-float STREAM

Parse the next token in the stream as a float, then skip the following whitespace. The returned value is the float.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-number STREAM
Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-numeric-string STRING
Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-parenthesized-token STREAM

Parse the next token in the stream, then skip the following whitespace. The token might be surrounded by parentheses.
The returned value is the token.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-enum STREAM PROTOBUF

Parse a Protobufs ’enum’ from ’stream’.
Updates the ’protobuf-schema’ or ’protobuf-message’ object to have the enum.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-enum-value STREAM PROTOBUF ENUM NAME

Parse a Protobufs enum value from ’stream’.
Updates the ’protobuf-enum’ object to have the enum value.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-extend STREAM PROTOBUF

Parse a Protobufs ’extend’ from ’stream’.
Updates the ’protobuf-schema’ or ’protobuf-message’ object to have the message.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-extension STREAM MESSAGE
Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-field STREAM MESSAGE REQUIRED &optional EXTENDED-FROM ALREDY-SEEN-TOKEN

Parse a Protobufs field from ’stream’.
Updates the ’protobuf-message’ object to have the field.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-field-options STREAM

Parse any options in a Protobufs field from ’stream’. Returns a list of ’protobuf-option’ objects.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-group STREAM MESSAGE REQUIRED &optional EXTENDED-FROM

Parse a (deprecated) Protobufs group from ’stream’.
Updates the ’protobuf-message’ object to have the group type and field.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-import STREAM SCHEMA &optional TERMINATOR

Parse a Protobufs import line from ’stream’.
Updates the ’protobuf-schema’ object to use the import.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-message STREAM PROTOBUF &optional NAME

Parse a Protobufs ’message’ from ’stream’.
Updates the ’protobuf-schema’ or ’protobuf-message’ object to have the message.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-method STREAM SERVICE INDEX

Parse a Protobufs method from ’stream’.
Updates the ’protobuf-service’ object to have the method.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-method-options STREAM

Parse any options in a Protobufs method from ’stream’. Returns a list of ’protobuf-option’ objects.
If a body was parsed, returns a second value T.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-oneof STREAM MESSAGE

Parse a Messages ’oneof’ from ’stream’.
Updates the ’message-schema’ or ’message-message’ object to have the oneof

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-oneof-field STREAM ONEOF MESSAGE TYPE

Parse a Oneofs field from ’stream’.
Updates the ’protobuf-oneof’ object to have the field.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-option STREAM PROTOBUF &optional TERMINATORS

Parse a Protobufs option line from ’stream’.
Updates the ’protobuf-schema’ (or message, service, method) to have the option.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-package STREAM SCHEMA &optional TERMINATOR

Parse a Protobufs package line from ’stream’.
Updates the ’protobuf-schema’ object to use the package.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-service STREAM SCHEMA

Parse a Protobufs ’service’ from ’stream’.
Updates the ’protobuf-schema’ object to have the service.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-proto-syntax STREAM SCHEMA &optional TERMINATOR

Parse a Protobufs syntax line from ’stream’.
Updates the ’protobuf-schema’ object to use the syntax.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-signed-int STREAM

Parse the next token in the stream as an integer, then skip the following whitespace. The returned value is the integer.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-string STREAM

Parse the next quoted string in the stream, then skip the following whitespace. The returned value is the string, without the quotation marks.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-token STREAM &optional ADDITIONAL-CHARS

Parse the next token in the stream, then skip the following whitespace. The returned value is the token.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-token-or-string STREAM
Package

protobufs-implementation

Source

parser.lisp (file)

Function: parse-unsigned-int STREAM

Parse the next token in the stream as an integer, then skip the following whitespace. The returned value is the integer.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: print-enum VAL ENUM FIELD STREAM INDENT
Package

protobufs-implementation

Source

text-format.lisp (file)

Function: print-prim VAL TYPE FIELD STREAM INDENT
Package

protobufs-implementation

Source

text-format.lisp (file)

Function: process-field FIELD INDEX &key CONC-NAME ALIAS-FOR

Process one field descriptor within ’define-message’ or ’define-extend’.
Returns a ’proto-field’ object, a CLOS slot form and the incremented field index.

Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: proto-eol-char-p ()
Package

protobufs-implementation

Source

parser.lisp (file)

Function: proto-token-char-p ()
Package

protobufs-implementation

Source

parser.lisp (file)

Function: proto-whitespace-char-p ()
Package

protobufs-implementation

Source

parser.lisp (file)

Function: record-proto-source-location TYPE NAME DEFINITION-TYPE &optional PATHNAME START-POS END-POS
Package

protobufs-implementation

Source

define-proto.lisp (file)

Function: satisfies-list-of-p TYPE
Package

protobufs-implementation

Source

clos-transform.lisp (file)

Function: set-lisp-package SCHEMA LISP-PACKAGE-NAME

Set the package for generated lisp names of ’schema’.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: single-float-bits X
Package

protobufs-implementation

Source

utilities.lisp (file)

Function: skip-block-comment STREAM

Skip to the end of a block comment, that is, until a ’*/’ is seen. Then skip any following whitespace.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: skip-field STREAM

Skip either a token or a balanced {}-pair.

Package

protobufs-implementation

Source

text-format.lisp (file)

Function: skip-line-comment STREAM

Skip to the end of a line comment, that is, to the end of the line. Then skip any following whitespace.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: skip-whitespace STREAM

Skip all the whitespace characters that are coming up in the stream.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: source-location-end-pos STRUCTURE
Function: (setf source-location-end-pos) VALUE STRUCTURE
Package

protobufs-implementation

Source

parser.lisp (file)

Function: source-location-pathname STRUCTURE
Function: (setf source-location-pathname) VALUE STRUCTURE
Package

protobufs-implementation

Source

parser.lisp (file)

Function: source-location-start-pos STRUCTURE
Function: (setf source-location-start-pos) VALUE STRUCTURE
Package

protobufs-implementation

Source

parser.lisp (file)

Function: split-string LINE &key START END SEPARATORS

Given a string ’string’, splits it at each of the separators. Returns a list of the string pieces, with empty pieces removed.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: starts-with STRING PREFIX &key START

Returns true if ’string’ starts with the prefix ’prefix’ (case insensitive).

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: strcat &rest STRINGS

Concatenate a bunch of strings.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: type-expand TYPE
Package

protobufs-implementation

Source

utilities.lisp (file)

Function: uncamel-case NAME

Take a camel-case string and turn it into a hyphen-separated string.

Package

protobufs-implementation

Source

utilities.lisp (file)

Function: unescape-char STREAM

Parse the next "escaped" character from the stream.

Package

protobufs-implementation

Source

parser.lisp (file)

Function: upgrade-warn FORMAT-STRING &rest FORMAT-ARGS

Collect an upgrade warning into *upgrade-warnings*. Returns the list of warnings.

Package

protobufs-implementation

Source

upgradable.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Generic functions

Generic Function: any-lisp-option SCHEMA

Returns true iff there is anything in the schema that would require that the .proto file include and extend ’MessageOptions’.

Package

protobufs-implementation

Source

printer.lisp (file)

Methods
Method: any-lisp-option (SCHEMA protobuf-schema)
Generic Function: clear-size-cache OBJECT TYPE

Clear the size cache for a tree of objects.

Package

protobufs-implementation

Source

serialize.lisp (file)

Methods
Method: clear-size-cache (OBJECT base-protobuf-message) TYPE
Method: clear-size-cache (OBJECT standard-object) TYPE
Generic Function: collect-exports SCHEMA

Collect all the symbols that should be exported from a Protobufs package

Package

protobufs-implementation

Source

printer.lisp (file)

Methods
Method: collect-exports (METHOD protobuf-method)
Method: collect-exports (SERVICE protobuf-service)
Method: collect-exports (FIELD protobuf-field)
Method: collect-exports (MESSAGE protobuf-message)
Method: collect-exports (ENUM protobuf-enum)
Method: collect-exports (SCHEMA protobuf-schema)
Generic Function: empty-default-p FIELD

Returns true iff the default for the field is empty, ie, was not supplied.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: empty-default-p (FIELD protobuf-field)
Generic Function: ensure-field TRACE MESSAGE FIELD
Package

protobufs-implementation

Source

define-proto.lisp (file)

Methods
Method: ensure-field TRACE MESSAGE (FIELD protobuf-field)
Generic Function: ensure-message TRACE MESSAGE
Package

protobufs-implementation

Source

define-proto.lisp (file)

Methods
Method: ensure-message TRACE (MESSAGE protobuf-message)
Generic Function: ensure-method TRACE SERVICE METHOD
Package

protobufs-implementation

Source

define-proto.lisp (file)

Methods
Method: ensure-method TRACE SERVICE (METHOD protobuf-method)
Generic Function: ensure-service TRACE SERVICE
Package

protobufs-implementation

Source

define-proto.lisp (file)

Methods
Method: ensure-service TRACE (SERVICE protobuf-service)
Generic Function: error-where CONDITION
Package

protobufs-implementation

Methods
Method: error-where (CONDITION undefined-method-type)
Source

conditions.lisp (file)

Generic Function: make-size-cache OBJECT TYPE

Make an object size cache for ’object’.

Package

protobufs-implementation

Source

serialize.lisp (file)

Methods
Method: make-size-cache (OBJECT base-protobuf-message) TYPE
Method: make-size-cache (OBJECT standard-object) TYPE
Generic Function: proto-oneof OBJECT
Generic Function: (setf proto-oneof) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-oneof (PROTOBUF-FIELD protobuf-field)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-oneof) NEW-VALUE (PROTOBUF-FIELD protobuf-field)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-oneofs OBJECT
Generic Function: (setf proto-oneofs) NEW-VALUE OBJECT
Package

protobufs-implementation

Methods
Method: proto-oneofs (PROTOBUF-MESSAGE protobuf-message)

automatically generated reader method

Source

model-classes.lisp (file)

Method: (setf proto-oneofs) NEW-VALUE (PROTOBUF-MESSAGE protobuf-message)

automatically generated writer method

Source

model-classes.lisp (file)

Generic Function: proto-proto-type-str OBJECT
Package

protobufs-implementation

Methods
Method: proto-proto-type-str (PROTOBUF-TYPE-ALIAS protobuf-type-alias)

automatically generated reader method

Source

model-classes.lisp (file)

Generic Function: record-protobuf SCHEMA &optional SYMBOL TYPE

Record all the names by which the Protobufs schema might be known.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: record-protobuf (MESSAGE protobuf-message) &optional CLASS TYPE
Method: record-protobuf (SCHEMA protobuf-schema) &optional SYMBOL TYPE
Generic Function: resolve-lisp-names PROTOBUF

Second pass of schema parsing which recursively resolves Protobuf type names to Lisp type names in all messages and services contained within ’protobuf’. No return value.

Package

protobufs-implementation

Source

parser.lisp (file)

Methods
Method: resolve-lisp-names (METHOD protobuf-method)

Resolves input, output, and streams protobuf type names to lisp type names and sets ‘proto-input-type’, ‘proto-output-type’, and, if ‘proto-streams-name’ is set, ‘proto-streams-type’ on ’method’.

Method: resolve-lisp-names (SERVICE protobuf-service)

Recursively resolves protobuf type names to lisp type names for all methods of ’service’.

Method: resolve-lisp-names (FIELD protobuf-field)

Resolves the field’s protobuf type to a lisp type and sets ‘proto-class’ for ’field’.

Method: resolve-lisp-names (MESSAGE protobuf-message)

Recursively resolves protobuf type names to lisp type names in nested messages and fields of ’message’.

Method: resolve-lisp-names (SCHEMA protobuf-schema)

Recursively resolves Protobuf type names to Lisp type names in the messages and services in ’schema’.

Generic Function: valid-type SCHEMA NAME
Package

protobufs-implementation

Methods
Method: valid-type (SCHEMA protobuf-schema) (NAME string)
Source

parser.lisp (file)

Generic Function: vector-field-p FIELD

Returns true if the storage for a ’repeated’ field is a vector, returns false if the storage is a list.

Package

protobufs-implementation

Source

model-classes.lisp (file)

Methods
Method: vector-field-p (FIELD protobuf-field)
Generic Function: write-schema-documentation TYPE DOCSTRING STREAM &key INDENTATION

Writes the docstring as a "block comment" onto the given stream ’stream’ in the format given by ’type’ (:proto, :text, etc).

Package

protobufs-implementation

Source

printer.lisp (file)

Methods
Method: write-schema-documentation (TYPE (eql lisp)) DOCSTRING STREAM &key INDENTATION
Method: write-schema-documentation (TYPE (eql proto)) DOCSTRING STREAM &key INDENTATION
Generic Function: write-schema-header TYPE SCHEMA STREAM

Writes a header for the schema onto the given stream ’stream’ in the format given by ’type’ (:proto, :text, etc).

Package

protobufs-implementation

Source

printer.lisp (file)

Methods
Method: write-schema-header (TYPE (eql lisp)) (SCHEMA protobuf-schema) STREAM
Method: write-schema-header (TYPE (eql proto)) (SCHEMA protobuf-schema) STREAM

Previous: , Up: Internal definitions   [Contents][Index]

5.2.7 Conditions

Condition: undefined-method-type ()

Superclass for ‘undefined-type’ errors related to a ‘protobuf-method’. Indicates
that a schema contains a service with a method whose input, output, or stream type is not a known message (or extend).

Package

protobufs-implementation

Source

conditions.lisp (file)

Direct superclasses

undefined-type (condition)

Direct subclasses
Direct methods
Direct slots
Slot: method
Initargs

:method

Readers

error-method (generic function)

Slot: where

Description of which type referenced by the method is undefined.

Initargs

:where

Readers

error-where (generic function)

Condition: undefined-type ()

Indicates that a schema references a type which has not been defined.

Package

protobufs-implementation

Source

conditions.lisp (file)

Direct superclasses

simple-error (condition)

Direct subclasses
Direct methods

error-type-name (method)

Direct slots
Slot: type-name
Initargs

:type-name

Readers

error-type-name (generic function)

Direct Default Initargs
InitargValue
:format-control"undefined type:"

Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-protobufs.asd: The cl-protobufs<dot>asd file
cl-protobufs/misc: The cl-protobufs/misc module
cl-protobufs/misc/api.lisp: The cl-protobufs/misc/api<dot>lisp file
cl-protobufs/misc/asdf-support.lisp: The cl-protobufs/misc/asdf-support<dot>lisp file
cl-protobufs/misc/examples.lisp: The cl-protobufs/misc/examples<dot>lisp file
cl-protobufs/models: The cl-protobufs/models module
cl-protobufs/models/conditions.lisp: The cl-protobufs/models/conditions<dot>lisp file
cl-protobufs/models/model-classes.lisp: The cl-protobufs/models/model-classes<dot>lisp file
cl-protobufs/models/utilities.lisp: The cl-protobufs/models/utilities<dot>lisp file
cl-protobufs/packages: The cl-protobufs/packages module
cl-protobufs/packages/pkgdcl.lisp: The cl-protobufs/packages/pkgdcl<dot>lisp file
cl-protobufs/parsing: The cl-protobufs/parsing module
cl-protobufs/parsing/parser.lisp: The cl-protobufs/parsing/parser<dot>lisp file
cl-protobufs/parsing/printer.lisp: The cl-protobufs/parsing/printer<dot>lisp file
cl-protobufs/schema: The cl-protobufs/schema module
cl-protobufs/schema/clos-transform.lisp: The cl-protobufs/schema/clos-transform<dot>lisp file
cl-protobufs/schema/define-proto.lisp: The cl-protobufs/schema/define-proto<dot>lisp file
cl-protobufs/schema/upgradable.lisp: The cl-protobufs/schema/upgradable<dot>lisp file
cl-protobufs/serialization: The cl-protobufs/serialization module
cl-protobufs/serialization/serialize.lisp: The cl-protobufs/serialization/serialize<dot>lisp file
cl-protobufs/serialization/text-format.lisp: The cl-protobufs/serialization/text-format<dot>lisp file
cl-protobufs/serialization/wire-format.lisp: The cl-protobufs/serialization/wire-format<dot>lisp file

F
File, Lisp, cl-protobufs.asd: The cl-protobufs<dot>asd file
File, Lisp, cl-protobufs/misc/api.lisp: The cl-protobufs/misc/api<dot>lisp file
File, Lisp, cl-protobufs/misc/asdf-support.lisp: The cl-protobufs/misc/asdf-support<dot>lisp file
File, Lisp, cl-protobufs/misc/examples.lisp: The cl-protobufs/misc/examples<dot>lisp file
File, Lisp, cl-protobufs/models/conditions.lisp: The cl-protobufs/models/conditions<dot>lisp file
File, Lisp, cl-protobufs/models/model-classes.lisp: The cl-protobufs/models/model-classes<dot>lisp file
File, Lisp, cl-protobufs/models/utilities.lisp: The cl-protobufs/models/utilities<dot>lisp file
File, Lisp, cl-protobufs/packages/pkgdcl.lisp: The cl-protobufs/packages/pkgdcl<dot>lisp file
File, Lisp, cl-protobufs/parsing/parser.lisp: The cl-protobufs/parsing/parser<dot>lisp file
File, Lisp, cl-protobufs/parsing/printer.lisp: The cl-protobufs/parsing/printer<dot>lisp file
File, Lisp, cl-protobufs/schema/clos-transform.lisp: The cl-protobufs/schema/clos-transform<dot>lisp file
File, Lisp, cl-protobufs/schema/define-proto.lisp: The cl-protobufs/schema/define-proto<dot>lisp file
File, Lisp, cl-protobufs/schema/upgradable.lisp: The cl-protobufs/schema/upgradable<dot>lisp file
File, Lisp, cl-protobufs/serialization/serialize.lisp: The cl-protobufs/serialization/serialize<dot>lisp file
File, Lisp, cl-protobufs/serialization/text-format.lisp: The cl-protobufs/serialization/text-format<dot>lisp file
File, Lisp, cl-protobufs/serialization/wire-format.lisp: The cl-protobufs/serialization/wire-format<dot>lisp file

L
Lisp File, cl-protobufs.asd: The cl-protobufs<dot>asd file
Lisp File, cl-protobufs/misc/api.lisp: The cl-protobufs/misc/api<dot>lisp file
Lisp File, cl-protobufs/misc/asdf-support.lisp: The cl-protobufs/misc/asdf-support<dot>lisp file
Lisp File, cl-protobufs/misc/examples.lisp: The cl-protobufs/misc/examples<dot>lisp file
Lisp File, cl-protobufs/models/conditions.lisp: The cl-protobufs/models/conditions<dot>lisp file
Lisp File, cl-protobufs/models/model-classes.lisp: The cl-protobufs/models/model-classes<dot>lisp file
Lisp File, cl-protobufs/models/utilities.lisp: The cl-protobufs/models/utilities<dot>lisp file
Lisp File, cl-protobufs/packages/pkgdcl.lisp: The cl-protobufs/packages/pkgdcl<dot>lisp file
Lisp File, cl-protobufs/parsing/parser.lisp: The cl-protobufs/parsing/parser<dot>lisp file
Lisp File, cl-protobufs/parsing/printer.lisp: The cl-protobufs/parsing/printer<dot>lisp file
Lisp File, cl-protobufs/schema/clos-transform.lisp: The cl-protobufs/schema/clos-transform<dot>lisp file
Lisp File, cl-protobufs/schema/define-proto.lisp: The cl-protobufs/schema/define-proto<dot>lisp file
Lisp File, cl-protobufs/schema/upgradable.lisp: The cl-protobufs/schema/upgradable<dot>lisp file
Lisp File, cl-protobufs/serialization/serialize.lisp: The cl-protobufs/serialization/serialize<dot>lisp file
Lisp File, cl-protobufs/serialization/text-format.lisp: The cl-protobufs/serialization/text-format<dot>lisp file
Lisp File, cl-protobufs/serialization/wire-format.lisp: The cl-protobufs/serialization/wire-format<dot>lisp file

M
Module, cl-protobufs/misc: The cl-protobufs/misc module
Module, cl-protobufs/models: The cl-protobufs/models module
Module, cl-protobufs/packages: The cl-protobufs/packages module
Module, cl-protobufs/parsing: The cl-protobufs/parsing module
Module, cl-protobufs/schema: The cl-protobufs/schema module
Module, cl-protobufs/serialization: The cl-protobufs/serialization module

Jump to:   C   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   O   P   R   S   T   U   V   W   Z  
Index Entry  Section

%
%make-source-location: Internal functions

(
(setf cached-object-size): Internal functions
(setf proto-alias-for): Exported generic functions
(setf proto-alias-for): Exported generic functions
(setf proto-alias-for): Exported generic functions
(setf proto-class): Exported generic functions
(setf proto-class): Exported generic functions
(setf proto-client-stub): Exported generic functions
(setf proto-client-stub): Exported generic functions
(setf proto-conc-name): Exported generic functions
(setf proto-conc-name): Exported generic functions
(setf proto-default): Exported generic functions
(setf proto-default): Exported generic functions
(setf proto-documentation): Exported generic functions
(setf proto-documentation): Exported generic functions
(setf proto-enums): Exported generic functions
(setf proto-enums): Exported generic functions
(setf proto-enums): Exported generic functions
(setf proto-extended-fields): Exported generic functions
(setf proto-extended-fields): Exported generic functions
(setf proto-extenders): Exported generic functions
(setf proto-extenders): Exported generic functions
(setf proto-extenders): Exported generic functions
(setf proto-extension-from): Exported generic functions
(setf proto-extension-from): Exported generic functions
(setf proto-extension-to): Exported generic functions
(setf proto-extension-to): Exported generic functions
(setf proto-extensions): Exported generic functions
(setf proto-extensions): Exported generic functions
(setf proto-fields): Exported generic functions
(setf proto-fields): Exported generic functions
(setf proto-fields): Exported generic functions
(setf proto-imported-schemas): Exported generic functions
(setf proto-imported-schemas): Exported generic functions
(setf proto-imports): Exported generic functions
(setf proto-imports): Exported generic functions
(setf proto-index): Exported generic functions
(setf proto-index): Exported generic functions
(setf proto-index): Exported generic functions
(setf proto-index): Exported generic functions
(setf proto-input-name): Exported generic functions
(setf proto-input-name): Exported generic functions
(setf proto-input-type): Exported generic functions
(setf proto-input-type): Exported generic functions
(setf proto-lisp-package): Exported generic functions
(setf proto-lisp-package): Exported generic functions
(setf proto-message-type): Exported generic functions
(setf proto-message-type): Exported generic functions
(setf proto-message-type): Exported generic functions
(setf proto-messages): Exported generic functions
(setf proto-messages): Exported generic functions
(setf proto-messages): Exported generic functions
(setf proto-methods): Exported generic functions
(setf proto-methods): Exported generic functions
(setf proto-oneof): Internal generic functions
(setf proto-oneof): Internal generic functions
(setf proto-oneofs): Internal generic functions
(setf proto-oneofs): Internal generic functions
(setf proto-options): Exported generic functions
(setf proto-options): Exported generic functions
(setf proto-output-name): Exported generic functions
(setf proto-output-name): Exported generic functions
(setf proto-output-type): Exported generic functions
(setf proto-output-type): Exported generic functions
(setf proto-package): Exported generic functions
(setf proto-package): Exported generic functions
(setf proto-packed): Exported generic functions
(setf proto-packed): Exported generic functions
(setf proto-parent): Exported generic functions
(setf proto-parent): Exported generic functions
(setf proto-qualified-name): Exported generic functions
(setf proto-qualified-name): Exported generic functions
(setf proto-reader): Exported generic functions
(setf proto-reader): Exported generic functions
(setf proto-required): Exported generic functions
(setf proto-required): Exported generic functions
(setf proto-server-stub): Exported generic functions
(setf proto-server-stub): Exported generic functions
(setf proto-services): Exported generic functions
(setf proto-services): Exported generic functions
(setf proto-slot): Exported generic functions
(setf proto-slot): Exported generic functions
(setf proto-source-location): Exported generic functions
(setf proto-source-location): Exported generic functions
(setf proto-streams-name): Exported generic functions
(setf proto-streams-name): Exported generic functions
(setf proto-streams-type): Exported generic functions
(setf proto-streams-type): Exported generic functions
(setf proto-syntax): Exported generic functions
(setf proto-syntax): Exported generic functions
(setf proto-type): Exported generic functions
(setf proto-type): Exported generic functions
(setf proto-type-aliases): Exported generic functions
(setf proto-type-aliases): Exported generic functions
(setf proto-type-aliases): Exported generic functions
(setf proto-value): Exported generic functions
(setf proto-value): Exported generic functions
(setf proto-value): Exported generic functions
(setf proto-value): Exported generic functions
(setf proto-values): Exported generic functions
(setf proto-values): Exported generic functions
(setf proto-writer): Exported generic functions
(setf proto-writer): Exported generic functions
(setf source-location-end-pos): Internal functions
(setf source-location-pathname): Internal functions
(setf source-location-start-pos): Internal functions

A
add-option: Exported generic functions
add-option: Exported generic functions
add-option: Exported generic functions
any-lisp-option: Internal generic functions
any-lisp-option: Internal generic functions
appendf: Internal macros

B
boolean-true-p: Internal functions

C
cached-object-size: Internal functions
camel-case: Internal functions
camel-case-but-one: Internal functions
class-name->proto: Exported functions
class-to-protobuf-message: Exported functions
clear: Exported generic functions
clear: Exported generic functions
clear-extension: Exported generic functions
clear-field: Exported generic functions
clear-field: Exported generic functions
clear-size-cache: Internal generic functions
clear-size-cache: Internal generic functions
clear-size-cache: Internal generic functions
clos-init-to-protobuf-default: Exported functions
clos-type-to-protobuf-required: Exported functions
clos-type-to-protobuf-type: Exported functions
collect-exports: Internal generic functions
collect-exports: Internal generic functions
collect-exports: Internal generic functions
collect-exports: Internal generic functions
collect-exports: Internal generic functions
collect-exports: Internal generic functions
collect-exports: Internal generic functions
Compiler Macro, curry: Internal compiler macros
Compiler Macro, deserialize-packed: Exported compiler macros
Compiler Macro, deserialize-prim: Exported compiler macros
Compiler Macro, make-tag: Exported compiler macros
Compiler Macro, packed-size: Exported compiler macros
Compiler Macro, prim-size: Exported compiler macros
Compiler Macro, serialize-packed: Exported compiler macros
Compiler Macro, serialize-prim: Exported compiler macros
Compiler Macro, zig-zag-decode32: Exported compiler macros
Compiler Macro, zig-zag-decode64: Exported compiler macros
Compiler Macro, zig-zag-encode32: Exported compiler macros
Compiler Macro, zig-zag-encode64: Exported compiler macros
conc-name-for-type: Internal functions
copy-source-location: Internal functions
curry: Internal compiler macros
curry: Internal functions

D
decode-double: Exported functions
decode-fixed32: Exported functions
decode-fixed64: Exported functions
decode-int: Exported functions
decode-octets: Exported functions
decode-sfixed32: Exported functions
decode-sfixed64: Exported functions
decode-single: Exported functions
decode-string: Exported functions
decode-uint32: Exported functions
decode-uint64: Exported functions
define-enum: Exported macros
define-extend: Exported macros
define-extension: Exported macros
define-group: Exported macros
define-message: Exported macros
define-schema: Exported macros
define-service: Exported macros
define-type-alias: Exported macros
deserialize-enum: Exported functions
deserialize-object: Exported generic functions
deserialize-object: Exported generic functions
deserialize-object: Exported generic functions
deserialize-object-from-bytes: Exported functions
deserialize-object-from-file: Exported functions
deserialize-object-from-stream: Exported functions
deserialize-packed: Exported compiler macros
deserialize-packed: Exported functions
deserialize-packed-enum: Exported functions
deserialize-prim: Exported compiler macros
deserialize-prim: Exported functions
do-process-import: Internal functions
doseq: Internal macros
double-float-bits: Internal functions
dovector: Internal macros

E
empty-default-p: Internal generic functions
empty-default-p: Internal generic functions
encode-double: Exported functions
encode-fixed32: Exported functions
encode-fixed64: Exported functions
encode-int: Exported functions
encode-octets: Exported functions
encode-sfixed32: Exported functions
encode-sfixed64: Exported functions
encode-single: Exported functions
encode-string: Exported functions
encode-uint32: Exported functions
encode-uint64: Exported functions
ends-with: Internal functions
ensure-all-schemas: Exported functions
ensure-field: Internal generic functions
ensure-field: Internal generic functions
ensure-message: Internal generic functions
ensure-message: Internal generic functions
ensure-method: Internal generic functions
ensure-method: Internal generic functions
ensure-schema: Exported generic functions
ensure-schema: Exported generic functions
ensure-service: Internal generic functions
ensure-service: Internal generic functions
ensure-type: Internal functions
enum-name->proto: Exported functions
enum-size: Exported functions
error-field: Exported generic functions
error-field: Exported generic functions
error-method: Exported generic functions
error-method: Exported generic functions
error-type-name: Exported generic functions
error-type-name: Exported generic functions
error-where: Internal generic functions
error-where: Internal generic functions
escape-char: Internal functions
escape-string: Internal functions
expect-char: Internal functions

F
find-enum: Exported generic functions
find-enum: Exported generic functions
find-enum: Exported generic functions
find-enum: Exported generic functions
find-enum: Exported generic functions
find-field: Exported generic functions
find-field: Exported generic functions
find-field: Exported generic functions
find-field: Exported generic functions
find-message: Exported generic functions
find-message: Exported generic functions
find-message: Exported generic functions
find-message: Exported generic functions
find-message: Exported generic functions
find-message: Exported generic functions
find-message: Exported generic functions
find-message-for-class: Exported generic functions
find-message-for-class: Exported generic functions
find-message-for-class: Exported generic functions
find-method: Exported generic functions
find-method: Exported generic functions
find-method: Exported generic functions
find-method: Exported generic functions
find-option: Exported generic functions
find-option: Exported generic functions
find-option: Exported generic functions
find-proto-package: Internal functions
find-qualified-name: Internal functions
find-schema: Exported generic functions
find-schema: Exported generic functions
find-schema: Exported generic functions
find-service: Exported generic functions
find-service: Exported generic functions
find-service: Exported generic functions
find-service: Exported generic functions
find-slot-definition-reader: Internal functions
find-slot-definition-type: Internal functions
find-type-alias: Exported generic functions
find-type-alias: Exported generic functions
find-type-alias: Exported generic functions
fintern: Internal functions
fold-symbol: Internal functions
Function, %make-source-location: Internal functions
Function, (setf cached-object-size): Internal functions
Function, (setf source-location-end-pos): Internal functions
Function, (setf source-location-pathname): Internal functions
Function, (setf source-location-start-pos): Internal functions
Function, boolean-true-p: Internal functions
Function, cached-object-size: Internal functions
Function, camel-case: Internal functions
Function, camel-case-but-one: Internal functions
Function, class-name->proto: Exported functions
Function, class-to-protobuf-message: Exported functions
Function, clos-init-to-protobuf-default: Exported functions
Function, clos-type-to-protobuf-required: Exported functions
Function, clos-type-to-protobuf-type: Exported functions
Function, conc-name-for-type: Internal functions
Function, copy-source-location: Internal functions
Function, curry: Internal functions
Function, decode-double: Exported functions
Function, decode-fixed32: Exported functions
Function, decode-fixed64: Exported functions
Function, decode-int: Exported functions
Function, decode-octets: Exported functions
Function, decode-sfixed32: Exported functions
Function, decode-sfixed64: Exported functions
Function, decode-single: Exported functions
Function, decode-string: Exported functions
Function, decode-uint32: Exported functions
Function, decode-uint64: Exported functions
Function, deserialize-enum: Exported functions
Function, deserialize-object-from-bytes: Exported functions
Function, deserialize-object-from-file: Exported functions
Function, deserialize-object-from-stream: Exported functions
Function, deserialize-packed: Exported functions
Function, deserialize-packed-enum: Exported functions
Function, deserialize-prim: Exported functions
Function, do-process-import: Internal functions
Function, double-float-bits: Internal functions
Function, encode-double: Exported functions
Function, encode-fixed32: Exported functions
Function, encode-fixed64: Exported functions
Function, encode-int: Exported functions
Function, encode-octets: Exported functions
Function, encode-sfixed32: Exported functions
Function, encode-sfixed64: Exported functions
Function, encode-single: Exported functions
Function, encode-string: Exported functions
Function, encode-uint32: Exported functions
Function, encode-uint64: Exported functions
Function, ends-with: Internal functions
Function, ensure-all-schemas: Exported functions
Function, ensure-type: Internal functions
Function, enum-name->proto: Exported functions
Function, enum-size: Exported functions
Function, escape-char: Internal functions
Function, escape-string: Internal functions
Function, expect-char: Internal functions
Function, find-proto-package: Internal functions
Function, find-qualified-name: Internal functions
Function, find-slot-definition-reader: Internal functions
Function, find-slot-definition-type: Internal functions
Function, fintern: Internal functions
Function, fold-symbol: Internal functions
Function, generate-deserializer: Exported functions
Function, generate-message-forms: Internal functions
Function, generate-object-size: Exported functions
Function, generate-oneof-setf-methods: Internal functions
Function, generate-schema-for-classes: Exported functions
Function, generate-serializer: Exported functions
Function, index-within-extensions-p: Internal functions
Function, keywordify: Internal functions
Function, kintern: Internal functions
Function, lisp-type-to-protobuf-type: Exported functions
Function, list-of-list-of: Internal functions
Function, make-byte-vector: Exported functions
Function, make-double-float: Internal functions
Function, make-lisp-symbol: Internal functions
Function, make-option: Exported functions
Function, make-single-float: Internal functions
Function, make-source-location: Internal functions
Function, make-tag: Exported functions
Function, maybe-qualified-name: Internal functions
Function, maybe-skip-chars: Internal functions
Function, maybe-skip-comments: Internal functions
Function, option-name=: Internal functions
Function, packed-enum-size: Exported functions
Function, packed-size: Exported functions
Function, packed-type-p: Internal functions
Function, parse-error-position: Internal functions
Function, parse-float: Internal functions
Function, parse-number: Internal functions
Function, parse-numeric-string: Internal functions
Function, parse-parenthesized-token: Internal functions
Function, parse-proto-enum: Internal functions
Function, parse-proto-enum-value: Internal functions
Function, parse-proto-extend: Internal functions
Function, parse-proto-extension: Internal functions
Function, parse-proto-field: Internal functions
Function, parse-proto-field-options: Internal functions
Function, parse-proto-group: Internal functions
Function, parse-proto-import: Internal functions
Function, parse-proto-message: Internal functions
Function, parse-proto-method: Internal functions
Function, parse-proto-method-options: Internal functions
Function, parse-proto-oneof: Internal functions
Function, parse-proto-oneof-field: Internal functions
Function, parse-proto-option: Internal functions
Function, parse-proto-package: Internal functions
Function, parse-proto-service: Internal functions
Function, parse-proto-syntax: Internal functions
Function, parse-protobuf-file: Exported functions
Function, parse-schema-from-file: Exported functions
Function, parse-schema-from-stream: Exported functions
Function, parse-signed-int: Internal functions
Function, parse-string: Internal functions
Function, parse-token: Internal functions
Function, parse-token-or-string: Internal functions
Function, parse-unsigned-int: Internal functions
Function, prim-size: Exported functions
Function, print-enum: Internal functions
Function, print-prim: Internal functions
Function, process-field: Internal functions
Function, process-imports: Exported functions
Function, process-imports-from-file: Exported functions
Function, proto->class-name: Exported functions
Function, proto->enum-name: Exported functions
Function, proto->slot-name: Exported functions
Function, proto-eol-char-p: Internal functions
Function, proto-token-char-p: Internal functions
Function, proto-whitespace-char-p: Internal functions
Function, protobuf-default-to-clos-init: Exported functions
Function, protobufs-warn: Exported functions
Function, record-proto-source-location: Internal functions
Function, satisfies-list-of-p: Internal functions
Function, serialization-error: Exported functions
Function, serialize-enum: Exported functions
Function, serialize-object-to-bytes: Exported functions
Function, serialize-object-to-file: Exported functions
Function, serialize-object-to-stream: Exported functions
Function, serialize-packed: Exported functions
Function, serialize-packed-enum: Exported functions
Function, serialize-prim: Exported functions
Function, set-lisp-package: Internal functions
Function, single-float-bits: Internal functions
Function, skip-block-comment: Internal functions
Function, skip-element: Exported functions
Function, skip-field: Internal functions
Function, skip-line-comment: Internal functions
Function, skip-whitespace: Internal functions
Function, slot-name->proto: Exported functions
Function, slot-to-protobuf-field: Exported functions
Function, source-location-end-pos: Internal functions
Function, source-location-pathname: Internal functions
Function, source-location-start-pos: Internal functions
Function, split-string: Internal functions
Function, starts-with: Internal functions
Function, strcat: Internal functions
Function, type-expand: Internal functions
Function, uncamel-case: Internal functions
Function, undefined-field-type: Exported functions
Function, unescape-char: Internal functions
Function, upgrade-warn: Internal functions
Function, varint-length: Exported functions
Function, write-schema: Exported functions
Function, write-schema-for-classes: Exported functions
Function, zig-zag-decode32: Exported functions
Function, zig-zag-decode64: Exported functions
Function, zig-zag-encode32: Exported functions
Function, zig-zag-encode64: Exported functions

G
gen-zig-zag: Internal macros
generate-deserializer: Exported functions
generate-integer-decoders: Internal macros
generate-integer-encoders: Internal macros
generate-message-forms: Internal functions
generate-object-size: Exported functions
generate-oneof-setf-methods: Internal functions
generate-schema-for-classes: Exported functions
generate-serializer: Exported functions
Generic Function, (setf proto-alias-for): Exported generic functions
Generic Function, (setf proto-class): Exported generic functions
Generic Function, (setf proto-client-stub): Exported generic functions
Generic Function, (setf proto-conc-name): Exported generic functions
Generic Function, (setf proto-default): Exported generic functions
Generic Function, (setf proto-documentation): Exported generic functions
Generic Function, (setf proto-enums): Exported generic functions
Generic Function, (setf proto-extended-fields): Exported generic functions
Generic Function, (setf proto-extenders): Exported generic functions
Generic Function, (setf proto-extension-from): Exported generic functions
Generic Function, (setf proto-extension-to): Exported generic functions
Generic Function, (setf proto-extensions): Exported generic functions
Generic Function, (setf proto-fields): Exported generic functions
Generic Function, (setf proto-imported-schemas): Exported generic functions
Generic Function, (setf proto-imports): Exported generic functions
Generic Function, (setf proto-index): Exported generic functions
Generic Function, (setf proto-input-name): Exported generic functions
Generic Function, (setf proto-input-type): Exported generic functions
Generic Function, (setf proto-lisp-package): Exported generic functions
Generic Function, (setf proto-message-type): Exported generic functions
Generic Function, (setf proto-messages): Exported generic functions
Generic Function, (setf proto-methods): Exported generic functions
Generic Function, (setf proto-oneof): Internal generic functions
Generic Function, (setf proto-oneofs): Internal generic functions
Generic Function, (setf proto-options): Exported generic functions
Generic Function, (setf proto-output-name): Exported generic functions
Generic Function, (setf proto-output-type): Exported generic functions
Generic Function, (setf proto-package): Exported generic functions
Generic Function, (setf proto-packed): Exported generic functions
Generic Function, (setf proto-parent): Exported generic functions
Generic Function, (setf proto-qualified-name): Exported generic functions
Generic Function, (setf proto-reader): Exported generic functions
Generic Function, (setf proto-required): Exported generic functions
Generic Function, (setf proto-server-stub): Exported generic functions
Generic Function, (setf proto-services): Exported generic functions
Generic Function, (setf proto-slot): Exported generic functions
Generic Function, (setf proto-source-location): Exported generic functions
Generic Function, (setf proto-streams-name): Exported generic functions
Generic Function, (setf proto-streams-type): Exported generic functions
Generic Function, (setf proto-syntax): Exported generic functions
Generic Function, (setf proto-type): Exported generic functions
Generic Function, (setf proto-type-aliases): Exported generic functions
Generic Function, (setf proto-value): Exported generic functions
Generic Function, (setf proto-values): Exported generic functions
Generic Function, (setf proto-writer): Exported generic functions
Generic Function, add-option: Exported generic functions
Generic Function, any-lisp-option: Internal generic functions
Generic Function, clear: Exported generic functions
Generic Function, clear-extension: Exported generic functions
Generic Function, clear-field: Exported generic functions
Generic Function, clear-size-cache: Internal generic functions
Generic Function, collect-exports: Internal generic functions
Generic Function, deserialize-object: Exported generic functions
Generic Function, empty-default-p: Internal generic functions
Generic Function, ensure-field: Internal generic functions
Generic Function, ensure-message: Internal generic functions
Generic Function, ensure-method: Internal generic functions
Generic Function, ensure-schema: Exported generic functions
Generic Function, ensure-service: Internal generic functions
Generic Function, error-field: Exported generic functions
Generic Function, error-method: Exported generic functions
Generic Function, error-type-name: Exported generic functions
Generic Function, error-where: Internal generic functions
Generic Function, find-enum: Exported generic functions
Generic Function, find-field: Exported generic functions
Generic Function, find-message: Exported generic functions
Generic Function, find-message-for-class: Exported generic functions
Generic Function, find-method: Exported generic functions
Generic Function, find-option: Exported generic functions
Generic Function, find-schema: Exported generic functions
Generic Function, find-service: Exported generic functions
Generic Function, find-type-alias: Exported generic functions
Generic Function, get-extension: Exported generic functions
Generic Function, has-extension: Exported generic functions
Generic Function, has-field: Exported generic functions
Generic Function, is-initialized: Exported generic functions
Generic Function, make-qualified-name: Exported generic functions
Generic Function, make-size-cache: Internal generic functions
Generic Function, merge-from-array: Exported generic functions
Generic Function, merge-from-message: Exported generic functions
Generic Function, object-initialized-p: Exported generic functions
Generic Function, object-size: Exported generic functions
Generic Function, octet-size: Exported generic functions
Generic Function, parse-text-format: Exported generic functions
Generic Function, print-text-format: Exported generic functions
Generic Function, proto-alias-for: Exported generic functions
Generic Function, proto-class: Exported generic functions
Generic Function, proto-client-stub: Exported generic functions
Generic Function, proto-conc-name: Exported generic functions
Generic Function, proto-default<