Lines Matching refs:group_message
339 def SetProtobufMessageField(self, group_message, field, field_value): argument
350 entries = group_message.__getattribute__(field.name)
363 entries = group_message.__getattribute__(field.name).entries
369 group_message.__setattr__(field.name, field_value)
381 group_message = eval('dp.' + group.message_type.name + '()')
386 for field in group_message.DESCRIPTOR.fields:
391 self.SetProtobufMessageField(group_message, field, field_value)
393 settings.__getattribute__(group.name).CopyFrom(group_message)
406 group_message = eval('cp.' + group.message_type.name + '()')
409 group_message.policy_options.mode = cp.PolicyOptions.RECOMMENDED
414 for field in group_message.DESCRIPTOR.fields:
417 group_message.policy_options.mode = cp.PolicyOptions.MANDATORY
423 self.SetProtobufMessageField(group_message, field, field_value)
425 settings.__getattribute__(group.name).CopyFrom(group_message)