Searched refs:json_name (Results 1 – 7 of 7) sorted by relevance
23 repeated Cgroup cgroups = 1 [json_name = "Cgroups"];24 Cgroups2 cgroups2 = 2 [json_name = "Cgroups2"];29 string controller = 1 [json_name = "Controller"];30 string path = 2 [json_name = "Path"];31 string mode = 3 [json_name = "Mode"];32 string uid = 4 [json_name = "UID"];33 string gid = 5 [json_name = "GID"];37 bool needs_activation = 6 [json_name = "NeedsActivation"];38 bool is_optional = 7 [json_name = "Optional"];43 string path = 1 [json_name = "Path"];[all …]
23 repeated Attribute attributes = 1 [json_name = "Attributes"];24 repeated Profile profiles = 2 [json_name = "Profiles"];25 repeated AggregateProfiles aggregateprofiles = 3 [json_name = "AggregateProfiles"];30 string name = 1 [json_name = "Name"];31 string controller = 2 [json_name = "Controller"];32 string file = 3 [json_name = "File"];37 string name = 1 [json_name = "Name"];38 repeated Action actions = 2 [json_name = "Actions"];43 string name = 1 [json_name = "Name"];44 map<string, string> params = 2 [json_name = "Params"];[all …]
31 string group_name = 2 [json_name = "group_name"];32 bool is_dynamic = 3 [json_name = "is_dynamic"];36 uint64 fs_size = 5 [json_name = "fs_size"];38 uint64 fs_used = 6 [json_name = "fs_used"];45 uint64 maximum_size = 2 [json_name = "maximum_size"];53 uint64 block_size = 3 [json_name = "block_size"];55 uint64 alignment_offset = 5 [json_name = "alignment_offset"];57 repeated BlockDevice block_devices = 5 [json_name = "block_devices"];
26 // Protobuf Style Guide (a.k.a lower_snake_case), use json_name option to32 string foo_bar = 1 [json_name = "FOOBAR"];33 string barBaz = 2 [json_name = "BarBaz"];34 string BazQux = 3 [json_name = "baz_qux"];35 string QUX_QUUX = 4 [json_name = "quxQuux"];
49 return proto.has_json_name() ? field_descriptor.json_name() : field_descriptor.name(); in GetJsonName()94 const std::string& json_name = GetJsonName(*field_descriptor); in AllFieldsAreKnown() local95 const Json::Value& json_value = json[json_name]; in AllFieldsAreKnown()115 path->push_back(json_name + "[" + std::to_string(i) + "]"); in AllFieldsAreKnown()125 path->push_back(json_name); in AllFieldsAreKnown()
44 return T{}.GetDescriptor()->FindFieldByName(field_name)->json_name(); in GetFieldJsonName()
38 - `libprotobuf` accepts either `lowerCamelCase` (or `json_name` option if it is41 only the original field name (or `json_name` option if it is defined) can be59 the `json_name` option of a Protobuf field, or name of a Protobuf field if60 `json_name` is not defined. `lowerCamelCase` supported by `libprotobuf` is61 explicitly disallowed (unless explicitly used in `json_name`). For example,67 string bar_baz = 2 [json_name = "barBaz"];