Pbuf.Protoc.Field (pbuf v0.1.16)

Link to this section Summary

Link to this section Types

Specs

t() :: %Pbuf.Protoc.Field{
  decode_fun: String.t(),
  default: String.t(),
  encode_fun: String.t(),
  hidden: boolean(),
  name: String.t(),
  oneof_index: nil | non_neg_integer(),
  post_decode: :none | :map | :repack | :oneof1 | :oneof2,
  prefix: binary(),
  tag: pos_integer(),
  typespec: String.t()
}

Link to this section Functions

Link to this function

build(desc, context)

Specs

build(Pbuf.Protoc.proto_field(), Context.t()) :: any()
Link to this function

extract_core(desc, packed? \\ true)

Link to this function

internal_type(atom)

Specs

internal_type(byte() | atom()) :: atom()
Link to this function

is_repeated?(desc)

Specs

is_repeated?(Pbuf.Protoc.proto_field()) :: boolean()
Link to this function

module_name(map)

Link to this function

stringify_binary(bin)