Module hex_pb_package
Data Types
'Dependency'()
'Dependency'() = #{}
package => iodata() % = 1 requirement => iodata() % = 2 optional => boolean() | 0 | 1 % = 3 app => iodata() % = 4 repository => iodata() % = 5
'Package'()
'Package'() = #{releases => ['Release'()]}
'Release'()
'Release'() = #{dependencies => ['Dependency'()]}
'RetirementReason'()
'RetirementReason'() = RETIRED_OTHER | RETIRED_INVALID | RETIRED_SECURITY | RETIRED_DEPRECATED | RETIRED_RENAMED
'RetirementStatus'()
'RetirementStatus'() = #{}
reason => 'RETIRED_OTHER' | 'RETIRED_INVALID' | 'RETIRED_SECURITY' | 'RETIRED_DEPRECATED' | 'RETIRED_RENAMED' | integer() % = 1, enum RetirementReason message => iodata() % = 2
Function Index
Function Details
decode_msg/2
decode_msg(Bin, MsgName) -> any()
decode_msg/3
decode_msg(Bin, MsgName, Opts) -> any()
encode_msg/2
encode_msg(Msg::'Package'() | 'Release'() | 'RetirementStatus'() | 'Dependency'(), MsgName::Package | Release | RetirementStatus | Dependency) -> binary()
encode_msg/3
encode_msg(Msg::'Package'() | 'Release'() | 'RetirementStatus'() | 'Dependency'(), MsgName::Package | Release | RetirementStatus | Dependency, Opts::list()) -> binary()
enum_symbol_by_value/2
enum_symbol_by_value(X1, Value) -> any()
enum_symbol_by_value_RetirementReason/1
enum_symbol_by_value_RetirementReason(X1) -> any()
enum_value_by_symbol/2
enum_value_by_symbol(X1, Sym) -> any()
enum_value_by_symbol_RetirementReason/1
enum_value_by_symbol_RetirementReason(X1) -> any()
fetch_enum_def/1
fetch_enum_def(EnumName) -> any()
fetch_msg_def/1
fetch_msg_def(MsgName) -> any()
fetch_rpc_def/2
fetch_rpc_def(ServiceName::term(), RpcName::term()) -> no_return()
find_enum_def/1
find_enum_def(X1) -> any()
find_msg_def/1
find_msg_def(X1) -> any()
find_rpc_def/2
find_rpc_def(X1, X2) -> any()
get_enum_names/0
get_enum_names() -> any()
get_group_names/0
get_group_names() -> any()
get_msg_defs/0
get_msg_defs() -> any()
get_msg_names/0
get_msg_names() -> any()
get_msg_or_group_names/0
get_msg_or_group_names() -> any()
get_package_name/0
get_package_name() -> any()
get_rpc_names/1
get_rpc_names(X1) -> any()
get_service_def/1
get_service_def(X1) -> any()
get_service_names/0
get_service_names() -> any()
gpb_version_as_list/0
gpb_version_as_list() -> any()
gpb_version_as_string/0
gpb_version_as_string() -> any()
merge_msgs/3
merge_msgs(Prev, New, MsgName) -> any()
merge_msgs/4
merge_msgs(Prev, New, MsgName, Opts) -> any()
verify_msg/2
verify_msg(Msg, MsgName) -> any()
verify_msg/3
verify_msg(Msg, MsgName, Opts) -> any()