View Source hex_pb_versions (hex_core v0.10.0)

Link to this section Summary

Link to this section Types

-type '$msg'() :: 'Versions'() | 'Package'().
-type '$msg_name'() :: 'Versions' | 'Package'.
-type 'Package'() ::
    #{name => unicode:chardata(), versions => [unicode:chardata()], retired => [integer()]}.
-type 'Versions'() :: #{packages => ['Package'()], repository => unicode:chardata()}.

Link to this section Functions

Link to this function

decode_msg(Bin, MsgName)

View Source
Link to this function

decode_msg(Bin, MsgName, Opts)

View Source
Link to this function

encode_msg(Msg, MsgName)

View Source
-spec encode_msg('$msg'(), '$msg_name'()) -> binary().
Link to this function

encode_msg(Msg, MsgName, Opts)

View Source
-spec encode_msg('$msg'(), '$msg_name'(), list()) -> binary().
-spec enum_name_to_fqbin(_) -> no_return().
Link to this function

enum_symbol_by_value(E, V)

View Source
-spec enum_symbol_by_value(_, _) -> no_return().
Link to this function

enum_value_by_symbol(E, V)

View Source
-spec enum_value_by_symbol(_, _) -> no_return().
Link to this function

fetch_enum_def(EnumName)

View Source
-spec fetch_enum_def(_) -> no_return().
Link to this function

fetch_rpc_def(ServiceName, RpcName)

View Source
-spec fetch_rpc_def(_, _) -> no_return().
-spec fqbin_to_enum_name(_) -> no_return().
Link to this function

fqbin_to_service_name(X)

View Source
-spec fqbin_to_service_name(_) -> no_return().
Link to this function

fqbins_to_service_and_rpc_name(S, R)

View Source
-spec fqbins_to_service_and_rpc_name(_, _) -> no_return().
Link to this function

get_all_source_basenames()

View Source
Link to this function

get_msg_or_group_names()

View Source
Link to this function

get_proto_by_enum_name_as_fqbin(E)

View Source
-spec get_proto_by_enum_name_as_fqbin(_) -> no_return().
Link to this function

get_proto_by_msg_name_as_fqbin(E)

View Source
Link to this function

get_proto_by_service_name_as_fqbin(E)

View Source
-spec get_proto_by_service_name_as_fqbin(_) -> no_return().
Link to this function

get_protos_by_pkg_name_as_fqbin(E)

View Source
-spec get_protos_by_pkg_name_as_fqbin(_) -> no_return().
Link to this function

get_service_containment(P)

View Source
Link to this function

merge_msgs(Prev, New, MsgName)

View Source
Link to this function

merge_msgs(Prev, New, MsgName, Opts)

View Source
Link to this function

service_and_rpc_name_to_fqbins(S, R)

View Source
-spec service_and_rpc_name_to_fqbins(_, _) -> no_return().
Link to this function

service_name_to_fqbin(X)

View Source
-spec service_name_to_fqbin(_) -> no_return().
Link to this function

verify_msg(Msg, MsgName)

View Source
Link to this function

verify_msg(Msg, MsgName, Opts)

View Source