maxwell_protocol library

Classes

auth_rep_t
auth_req_t
BuilderInfo
Per-message type setup.
ClientContext
Client side context for RpcClients.
CodedBufferReader
Reader used for converting binary-encoded protobufs into GeneratedMessages.
CodedBufferWriter
Writer used for converting GeneratedMessages into binary representation.
error2_rep_t
error_code_t
error_rep_t
EventPlugin
An EventPlugin receives callbacks when the fields of a GeneratedMessage change.
Extension<T>
An object representing an extension field.
ExtensionRegistry
A collection of Extension objects, organized by the message type they extend.
FieldInfo<T>
An object representing a protobuf message field.
GeneratedMessage
The base class for all protobuf message types.
GeneratedService
The implementation of a Service API.
get_route_dist_checksum_rep_t
get_route_dist_checksum_req_t
get_routes_rep_t
get_routes_req_t
get_topic_dist_checksum_rep_t
get_topic_dist_checksum_req_t
GrpcServiceName
Use to annotate generated gRPC classes with the ID of the corresponding service.
header_t
locate_topic_rep_t
locate_topic_req_t
MapFieldInfo<K, V>
A FieldInfo subclass for protobuf map fields.
msg_t
msg_type_t
ok2_rep_t
ok_rep_t
PackageName
The package name of a protobuf message.
PbFieldType
Defines constants and functions for dealing with fieldType bits.
PbList<E>
A ListBase implementation used for protobuf repeated fields.
PbMap<K, V>
A MapBase implementation used for protobuf map fields.
pick_frontend_rep_t
pick_frontend_req_t
pick_frontends_rep_t
pick_frontends_req_t
ping_rep_t
ping_req_t
ProtobufEnum
A base class for all proto enum types.
pull_rep_t
pull_req_t
push_rep_t
push_req_t
register_backend_rep_t
register_backend_req_t
register_frontend_rep_t
register_frontend_req_t
register_service_rep_t
register_service_req_t
req_rep_t
req_req_t
resolve_ip_rep_t
resolve_ip_req_t
route_group_t
RpcClient
Client-side transport for making calls to a service.
ServerContext
Server side context.
set_routes_rep_t
set_routes_req_t
TagNumber
Annotation for marking accessors that belong together.
TypeRegistry
A TypeRegistry is used to resolve Any messages in the proto3 JSON conversion.
UnknownFieldSet
A set of unknown fields in a GeneratedMessage.
UnknownFieldSetField
An unknown field in a UnknownFieldSet.

Extensions

GeneratedMessageGenericExtensions on T
Extensions on GeneratedMessages.
ref_aware on GeneratedMessage

Typedefs

CheckFunc<E> = void Function(E? x)
Type of a function that checks items added to a PbList.
CreateBuilderFunc = GeneratedMessage Function()
Type of an empty message builder.
MakeDefaultFunc = dynamic Function()
Type of a function that creates the default value of a protobuf field.
ValueOfFunc = ProtobufEnum? Function(int value)
Type of a function that makes an enum integer value to corresponding ProtobufEnum value.

Exceptions / Errors

InvalidProtocolBufferException
Exception thrown by the binary deserializer when the encoding is malformed.