Cratis.Chronicle.Contracts.DescriptorSet (cratis_chronicle_contracts v17.0.1)

Copy Markdown View Source

The canonical descriptor set describing every contract in this version of Chronicle.

A client hands this to the kernel on connect and the kernel answers whether it still serves them. It ships as a build artifact rather than being rebuilt at runtime because the same set has to be byte-identical across all four Chronicle client SDKs, and protoc-gen-elixir keeps no descriptors at runtime.

Summary

Functions

The serialized FileDescriptorSet for this version of the contracts.

The version of the contracts this package carries - the protocol version it speaks.

Functions

bytes()

@spec bytes() :: binary()

The serialized FileDescriptorSet for this version of the contracts.

protocol_version()

@spec protocol_version() :: String.t()

The version of the contracts this package carries - the protocol version it speaks.