public IConsumedMethodReference CreateConsumedMethodReference(IConsumedServiceReference consumedService, string methodId)
        {
            var obj = ConsumedMethodReference.Rent();

            obj.ConsumedService = consumedService;
            obj.MethodId        = methodId;
            return(obj);
        }
        private static ConsumedMethodReference ConvertToProtoStrict(IConsumedMethodReference obj)
        {
            var proto = ConsumedMethodReference.Rent();

            proto.ConsumedService = ConvertToProtoStrict(obj.ConsumedService);
            proto.MethodId        = obj.MethodId.ConvertToProtoStrict();
            return(proto);
        }