with function

with and within methods for protocol buffer messages