Searched refs:field_options (Results 1 – 1 of 1) sorted by relevance
468 def __init__(self, struct_name, desc, field_options): argument482 self.callback_datatype = field_options.callback_datatype484 self.sort_by_tag = field_options.sort_by_tag486 if field_options.type == nanopb_pb2.FT_INLINE:490 field_options.type = nanopb_pb2.FT_STATIC491 field_options.fixed_length = True494 if field_options.HasField("max_size"):495 self.max_size = field_options.max_size497 self.default_has = field_options.default_has499 if desc.type == FieldD.TYPE_STRING and field_options.HasField("max_length"):[all …]