Home
last modified time | relevance | path

Searched refs:MessageWithRemappings (Results 1 – 3 of 3) sorted by relevance

/external/python/apitools/apitools/base/py/
Dencoding_test.py118 class MessageWithRemappings(messages.Message): class
142 encoding.AddCustomJsonEnumMapping(MessageWithRemappings.SomeEnum,
144 encoding.AddCustomJsonFieldMapping(MessageWithRemappings,
146 encoding.AddCustomJsonFieldMapping(MessageWithRemappings,
148 encoding.AddCustomJsonFieldMapping(MessageWithRemappings,
337 msg = MessageWithRemappings(
338 enum_field=MessageWithRemappings.SomeEnum.enum_value)
342 msg, encoding.JsonToMessage(MessageWithRemappings, json_message))
345 msg = MessageWithRemappings(
347 MessageWithRemappings.SomeEnum.enum_value,
[all …]
Dutil_test.py32 class MessageWithRemappings(messages.Message): class
43 MessageWithRemappings, 'str_field', 'path_field')
45 MessageWithRemappings.AnEnum, 'value_one', 'ONE')
180 'enum_field': MessageWithRemappings.AnEnum.value_one,
187 util.MapRequestParams(params, MessageWithRemappings))
189 params['enum_field'] = MessageWithRemappings.AnEnum.value_two
192 util.MapRequestParams(params, MessageWithRemappings))
198 util.MapParamNames(params, MessageWithRemappings))
Dbase_api_test.py53 class MessageWithRemappings(messages.Message): class
64 MessageWithRemappings, 'str_field', 'remapped_field')
66 MessageWithRemappings.AnEnum, 'value_one', 'ONE/TWO')
277 request = MessageWithRemappings(
278 str_field='foo', enum_field=MessageWithRemappings.AnEnum.value_one)
290 request = MessageWithRemappings(
292 enum_field=MessageWithRemappings.AnEnum.value_one)